Community
Participate
Working Groups
This was working, but now I get Java error. program resize type BasicProgram{} function main() myNames string[] = ["matt", "justin", "paul"]; myNames.resize(2); end end The method resize(int, EList.ListElementFactory<? extends String>) in the type EList<String> is not applicable for the arguments (int, EList.ElementFactory<EString>)
Paul, this is caused by that intermittent problem where TypeUtils.getTypeKind() sometimes give the wrong answer. I'm asking for the type-kind of the array's element type. In this case it should tell me String, but instead it says I'm Not Telling.
Paul, in my local copy of TypeUtils I replaced the == comparisons with calls to equals(), and I haven't seen the problem since.
This appears to be working now
Verified in 20111101 build.