ceylon/ceylon-compiler — Issue #211: if (is IdentifiableObject ... )
Author: gavinking
Created: 2011-11-22 14:51:33+00:00
State: open

I'm sure without needing to test that `if (is IdentifiableObject obj)` is broken. The problem is similar to #210, but the fix is different. We need to add an annotation to classes that don't have `IdentifiableObject` as a supertype and do something like

if (!obj.getClass().hasAnnotation(ValueClass.class))

At the Java level.