Temporary added DEPRECATED_LAMBDA_SYNTAX to tests.
It will be fixed soon.
This commit is contained in:
@@ -177,8 +177,8 @@ fun returnFunctionLiteralBlock(a: Any?): Function0<Int> {
|
||||
else return { 1 }
|
||||
}
|
||||
fun returnFunctionLiteral(a: Any?): Function0<Int> =
|
||||
if (a is Int) { (): Int -> <!DEBUG_INFO_SMARTCAST!>a<!> }
|
||||
else { () -> 1 }
|
||||
if (a is Int) { <!DEPRECATED_LAMBDA_SYNTAX!>(): Int<!> -> <!DEBUG_INFO_SMARTCAST!>a<!> }
|
||||
else { <!DEPRECATED_LAMBDA_SYNTAX!>()<!> -> 1 }
|
||||
|
||||
fun mergeSmartCasts(a: Any?) {
|
||||
if (a is String || a is Int) {
|
||||
|
||||
Reference in New Issue
Block a user