|
|
Re: Problem with XbaseCompiler [message #1149577 is a reply to message #1149563] |
Tue, 22 October 2013 07:00 |
Matthias Spiller Messages: 13 Registered: September 2013 |
Junior Member |
|
|
Thanks Sven,
unfortunately this does not help.
The type of the right-hand-side assignment ist still null when the compiler calls _toJavaStatement.
This is how the TypeComputer now looks like:
def _doComputeTypes(Call expr, ITypeComputationState state) {
val c = expr.feature as JvmGenericType
for(f : c.declaredFields) {
state.addLocalToCurrentScope(f)
}
val expressionState = state.withoutExpectation
for(p: expr.parameters) {
expressionState.computeTypes(p)
}
state.acceptActualType(getPrimitiveVoid(state))
}
Matthias
[Updated on: Tue, 22 October 2013 07:03] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04564 seconds