K2 Scripting, Fir2Ir: allow out of order supertypes declaration
fix script declarations registration logic in Fir2Ir to allow supertypes of a class to be defined later than the class itself. #KT-64534 fixed
This commit is contained in:
committed by
Space Team
parent
f18aa5e70f
commit
0df3a37303
@@ -0,0 +1,24 @@
|
||||
MODULE main
|
||||
CLASS Script.class
|
||||
CLASS METADATA
|
||||
K1
|
||||
<init>([Ljava/lang/String;)V
|
||||
K2
|
||||
---
|
||||
Property: class.metadata.superTypes
|
||||
K1
|
||||
[kotlin/script/templates/standard/ScriptTemplateWithArgs]
|
||||
K2
|
||||
[]
|
||||
Property: class.metadata.contextReceiverTypes
|
||||
K1
|
||||
[]
|
||||
K2
|
||||
[kotlin/script/templates/standard/ScriptTemplateWithArgs]
|
||||
CLASS Script$A.class
|
||||
CLASS METADATA
|
||||
Property: class.metadata.superTypes
|
||||
K1
|
||||
[Script.B, Script.C]
|
||||
K2
|
||||
[B, C]
|
||||
Reference in New Issue
Block a user