You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.AssertionError: assertion failed: failure to construct path from value <local A>/classA/traitCompilationTest/package<empty>/package<root>to`this`ofobjectAintraitCompilationTest;
because companionRef points to A.this.S instead of A.S
Expectation
One can construct valid references to companions of local classes. (Make CompilationTest an object and it works.)
Might be related to #14508.
The text was updated successfully, but these errors were encountered:
Compiler version
3.1.1
Minimized code
Output
because companionRef points to
A.this.S
instead ofA.S
Expectation
One can construct valid references to companions of local classes. (Make CompilationTest an object and it works.)
Might be related to #14508.
The text was updated successfully, but these errors were encountered: