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
+5
View File
@@ -0,0 +1,5 @@
// This should compile.
fun create(): Record = Record("OK")
// This should be an error.
fun error(): Unresolved? = null