Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
1> c = (char)123
discarding 1> line:1: expected <identifier>; found ')' at 1:10
c = (char)123
^
I think the this part in the Parser.expression() is missing primitive castings:
...
case Types.CREATABLE_PRIMITIVE_TYPE:
{
if( stack.atStartOfExpression() )
else
{ error( "type name not valid in this context" ); } break;
}
...