Optimize type checking for common cases
- Type equality for simple constructors (no arguments) - Subtyping on final classes
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package toplevelObjectDeclarations
|
||||
|
||||
class Foo(y : Int) {
|
||||
open class Foo(y : Int) {
|
||||
~foo()~open fun foo() : Int = 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user