ceylon/ceylon-compiler — Issue #311: Method named assert() with default arg
Author: gavinking
Created: 2011-12-27 19:43:54+00:00
State: open
Labels: BUG

There's no problem defining the following method:

shared void assert(Boolean assertion, String message="") {}

But when I call it like this:

assert(true);

I get this error:

[ceylonc] /Users/gavin/ceylon.language/test/testCasting.ceylon:14: package assert does not exist