More tests for smart casts
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
import java.io.File
|
||||
|
||||
fun foo(o: Any) {
|
||||
if (o is File) {
|
||||
o.getAbsolutePath()<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user