Files
kotlin-fork/compiler/testData/repl/noWarningsWithErrors.repl
T
Alexander Udalov cbb6269391 REPL: do not report warnings when there are errors
#KT-18349 Fixed
2017-06-08 12:28:06 +03:00

12 lines
394 B
Plaintext
Vendored

>>> (listOf(1) as List<String>).unresolved()
error: unresolved reference: unresolved
(listOf(1) as List<String>).unresolved()
^
>>> listOf<String>(1!!)
error: the integer literal does not conform to the expected type String?
listOf<String>(1!!)
^
error: type mismatch: inferred type is Int but String was expected
listOf<String>(1!!)
^