CLI: fix resolution of Java records as single file roots
#KT-46764 Fixed
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// This import checks that the compiler won't parse the "record" word as a soft keyword
|
||||
// and load the non-existing class named "Unresolved" from this Java source.
|
||||
import record.Unresolved;
|
||||
|
||||
// This class should be resolved correctly.
|
||||
public record Record(String string) {}
|
||||
Reference in New Issue
Block a user