Use TopLevelDeclarations analysis mode in REPL
#KT-12564 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
>>> val a: String
|
||||
error: property must be initialized or be abstract
|
||||
val a: String
|
||||
^
|
||||
>>> a
|
||||
error: unresolved reference: a
|
||||
a
|
||||
^
|
||||
>>> val s: String = s
|
||||
error: variable 's' must be initialized
|
||||
val s: String = s
|
||||
^
|
||||
Reference in New Issue
Block a user