K2 Scripting: Skip base class params from resolution scope
The base class in scripting considered obsolete and therefore supported via some ad-hoc mechanisms. In particular parameters to the base class c-tor are passed via script provided properties. But in combination with the resolution logic, this leads to issues described in KT-60452 This commits filters out such parameters from script resolution scope and avoids this problem for now. Bot it should be noted that proper diagnostics for properties shadowing should still be implemented - see #KT-65809 #KT-60452 fixed
This commit is contained in:
committed by
Space Team
parent
49559d2a5a
commit
9037975758
+5
@@ -0,0 +1,5 @@
|
||||
// param: O K
|
||||
|
||||
val rv = args[0] + args[1]
|
||||
|
||||
// expected: rv: OK
|
||||
Reference in New Issue
Block a user