b8e2a17de1
Non-capturing `(?:)` was now needed to avoid getting an additional group that only contains the last symbol before the closing `"`. ^KT-62711 Fixed
16 lines
339 B
Kotlin
Vendored
16 lines
339 B
Kotlin
Vendored
fun interface Run {
|
|
fun run()
|
|
}
|
|
|
|
fun handle(run: Run) {
|
|
//...
|
|
}
|
|
|
|
val x = {
|
|
"STRING"
|
|
}
|
|
|
|
fun test() {
|
|
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<!>)
|
|
}
|