Community
Participate
Working Groups
Build Identifier: 201109282102 The method get(int) is undefined for the type EAny Reproducible: Always Steps to Reproduce: 1. Check out project "org.eclipse.edt.eunit.test" from kan-cvs. 2. Add java generator to the project. 3. Clean the whole workspace. 4. Such errors exist in many places, for example: fvt.json.JSONTestsLib
This happens when the array expression of a subscript expression comes from a dynamic access. Simple exmple: record R1 a int[] = new int[ 3 ]; end function testIt() r1 R1; myAny any = r1; (myAny as R1).a[ 2 ] = 5; end
The problem is not really as the example states. It is because the method get and set are missing from EAny, for accessing arrays in an any type.
Fixed.
Verified in build 201110110900