Rename: auto cast -> smart cast
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class Expr {}
|
||||
class Num : Expr() {
|
||||
fun testing() {}
|
||||
}
|
||||
|
||||
fun eval(e : Expr) {
|
||||
if (e is Num) {
|
||||
return e.<caret>()
|
||||
}
|
||||
}
|
||||
|
||||
// EXIST: testing
|
||||
Reference in New Issue
Block a user