mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
15 lines
498 B
Plaintext
Vendored
15 lines
498 B
Plaintext
Vendored
warning: ATTENTION!
|
|
This build uses unsafe internal compiler arguments:
|
|
|
|
-XXLanguage:+NewInference
|
|
-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 () -> TypeVariable(_L) but Runnable was expected
|
|
foo { }
|
|
^
|
|
COMPILATION_ERROR
|