[NI-MIGRATE] Update CLI tests

This commit is contained in:
Mikhail Zarechenskiy
2020-02-13 09:23:37 +03:00
parent ca57d6cd16
commit cd0012c527
5 changed files with 20 additions and 9 deletions
@@ -7,7 +7,7 @@ This mode is not recommended for production use,
as no stability/compatibility guarantees are given on
compiler or generated code. Use it at your own risk!
compiler/testData/cli/jvm/newInferenceImpliesSamConversions.kt:4:9: error: type mismatch: inferred type is () -> Unit but Runnable was expected
foo { }
compiler/testData/cli/jvm/newInferenceImpliesSamConversions.kt:1:9: warning: parameter 'r' is never used
fun foo(r: Runnable) {}
^
COMPILATION_ERROR
OK