Community
Participate
Working Groups
The instanceof expression must be validated to not use any primitives. Also the type on the left and the right should be validated like in Java (incompatible conditional operands). Finally no conversion rules should be respected. That is [| 'foo' ] instanceof Supplier<String> is *false* as well as newArrayList('foo','bar') instanceof String[]
Array types should be allowed in instanceof expressions.
In Java it's ok to check variable instanceof List<?> I think Xtend should allow that, too
pushed to master
Closing all bugs that were set to RESOLVED before Neon.0