[FE 1.0] Improve error message for disabled "Unit conversions" feature
^KT-49394 Fixed
This commit is contained in:
@@ -11,5 +11,5 @@ val x = {
|
||||
}
|
||||
|
||||
fun test() {
|
||||
handle(<!UNSUPPORTED_FEATURE("The feature "unit conversions on arbitrary expressions" is experimental and should be enabled explicitly")!>x<!>)
|
||||
handle(<!UNSUPPORTED_FEATURE("The feature "unit conversions on arbitrary expressions" is experimental and should be enabled explicitly. You can also change the original type of this expression to (...) -> Unit")!>x<!>)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user