Community
Participate
Working Groups
Build Identifier: 2.0.0.v201104080435 There is currently no suitable validation for missing type parameters. The validation should be the same as for the parameter ?. Reproducible: Always
for a cast expression like : null as Iterable the compilation is silently broken. Xbase should fill up missing type arguments with wildcards.
Preliminary scheduled for 2.0RC1
postponed to SR1
Pushed to master. (In reply to comment #1) > for a cast expression like : > > null as Iterable > > the compilation is silently broken. The following test compiles and executes without errors: def void castNull() { var raw = null as Iterable var strings = null as Iterable<String> var Iterable assignStringsToRaw = null as Iterable<String> var Iterable<String> assignRawToStrings = null as Iterable var Iterable assignRawToRaw = null as Iterable var Iterable<String> assignStringsToStrings = null as Iterable<String> if (raw != strings) throw new IllegalStateException() } Please reopen if I missed the point of this issue.
Closing all bugs that were set to RESOLVED before Neon.0