Do not generate unnecessary super-call checks for functions with defaults
Such check should only be generated for a function in an open class #KT-11962 Fixed
This commit is contained in:
+4
-3
@@ -7,6 +7,7 @@ class A {
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
// Test there is no argument reordering when call site argument order same as declaration one: 15 + 1 for super call check
|
||||
// 10 LOAD
|
||||
// 2 STORE
|
||||
|
||||
// Test there is no argument reordering when call site argument order same as declaration one
|
||||
// 9 LOAD
|
||||
// 2 STORE
|
||||
|
||||
Reference in New Issue
Block a user