Community
Participate
Working Groups
When validating assignability, EList.class.isAssignaleFrom(List.class) returns false. At runtime, the fact that the instance is an EObject is detected, and eSet is used instead. Static checking needs to use a different approach when checking what will result in an eSet.
Fixed in rev 1311. Added isESettableFrom(Type, Type) to TypeUtils. Added polymorph dispatching of typeInfo to ITypeProvider which returns ITypeInfo with static information about a LValue type. (Required to enable checking if the feature type comes from an EObject).