CLI: fix resolution of Java records as single file roots

#KT-46764 Fixed
This commit is contained in:
Alexander Udalov
2021-05-31 21:52:09 +02:00
parent e295849733
commit 4b7fa44e80
6 changed files with 34 additions and 2 deletions
+6
View File
@@ -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) {}