implementation classes implement JetObject; initial implementation of getTypeInfo() method and typeof operator
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
class Point() {
|
||||
}
|
||||
|
||||
fun foo() = new Point()
|
||||
@@ -0,0 +1,7 @@
|
||||
class Point() {
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
val p = new Point();
|
||||
return typeof(p);
|
||||
}
|
||||
Reference in New Issue
Block a user