[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
@@ -1,4 +1,12 @@
warning: flag is not supported by this version of the compiler: -Xnew-inference -XXLanguage:-SamConversionPerArgument
warning: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:-SamConversionPerArgument
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/standaloneSamConversionsAreEnabledWithNewInference.kt:9:25: error: type mismatch: inferred type is () -> Unit but Runnable was expected
ForceSam.compare(r, {})
^