Files
kotlin-fork/compiler/testData/cli/jvm/explicitlyDisabledSamConversions.out
T
2024-02-08 12:59:31 +00:00

14 lines
462 B
Plaintext
Vendored

warning: ATTENTION!
This build uses unsafe internal compiler arguments:
-XXLanguage:-SamConversionForKotlinFunctions
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 { }
^^^
COMPILATION_ERROR