Commit 61882721 authored by uxrog's avatar uxrog
Browse files

Merge branch 'compile-only/unknown' into 'master'

Add test for correct handling of Unknown: assignment within condition

See merge request !55
parents 59c8be3f 1fa15516
Pipeline #190624 failed with stage
in 63 minutes and 4 seconds
class a {
public static void main(String[] args) {
boolean b = false;
boolean c;
b = false || (c = true);
new a().print(c);
}
public void print(boolean b) {
if (b) System.out.println(4); else System.out.println(5);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment