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.
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.