ceylon/ceylon-compiler — Issue #259: Backend must use getTarget() to determine the type in instantiation instead of getTypeModel()
Author: gavinking
Created: 2011-12-04 02:23:29+00:00
State: open
Labels: BUG, high priority

I just totally broke the backend by implementing proper type analysis for method/constructor references. Now, for an expression like:

X()

The `BaseTypeExpression` has type `Callable` instead of `X` (which was always incorrect). If you want to determine the type you now need to use `getTarget()`, just like for a `BaseMemberExpression`.

Sorry about the breakage.