javalang icon indicating copy to clipboard operation
javalang copied to clipboard

Can't recognize binary logical operator '!'

Open Vitaly-Protasov opened this issue 4 years ago • 0 comments

Stack with a problem in this code:

 class Test {
    public static void main(String[] arg) {
		int a = 1;
        if (time && !(b || c) ) {
			a = 1;
    }
}
}

javalang didn't see the logical negation of an expression '!(b || c) '. Only demonstrate logical or - ' || '

Vitaly-Protasov avatar Apr 16 '20 09:04 Vitaly-Protasov