ceylon/ceylon-compiler — Issue #370: throw "foo" doesn't work
Author: gavinking
Created: 2012-02-09 09:15:32+00:00
State: open
Labels: BUG

The typechecker lets you write:

throw "foo";

as an abbreviation of:

throw Exception("foo", null);

We should either implement this in the backend, or drop support for it everywhere.

Which?