processing/processing
GitHub で見るParser errors when trying to cast ints to booleans
Open
#4,646 opened on 2016年9月5日
help wantedpreprocessor
Repository metrics
- Stars
- (6,431 stars)
- PR merge metrics
- (30d に merged PR はありません)
説明
While running
boolean b = (boolean) 1;
gives the correct error message of "Cannot cast from int to boolean" the following erroneous statement:
boolean c = (boolean) 1 || (boolean) 1;
throws an unhandled exception in the editor (with the above error message), and on running a weird "23)" message.