added info about smart casts to diagnostic tests
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
fun illegalWhenBlock(a: Any): Int {
|
||||
when(a) {
|
||||
is Int -> return a
|
||||
is String -> return a.length
|
||||
is Int -> return <!DEBUG_INFO_AUTOCAST!>a<!>
|
||||
is String -> return <!DEBUG_INFO_AUTOCAST!>a<!>.length
|
||||
}
|
||||
<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>
|
||||
Reference in New Issue
Block a user