Pseudocode: Replace UnsupportedElementInstruction with UNSUPPORTED_ELEMENT magic.
Generate UNSUPPORTED_ELEMENT for assignments with unresolved left-han side
This commit is contained in:
@@ -3,6 +3,8 @@ fun Int.bar(c: C) {
|
||||
this = c
|
||||
}
|
||||
---------------------
|
||||
<v0>: {<: [ERROR : C]} NEW: magic[FAKE_INITIALIZER](c: C) -> <v0>
|
||||
c <v1>: * NEW: r(c) -> <v1>
|
||||
<v0>: {<: [ERROR : C]} NEW: magic[FAKE_INITIALIZER](c: C) -> <v0>
|
||||
c <v1>: * NEW: r(c) -> <v1>
|
||||
this = c <v2>: * NEW: magic[UNSUPPORTED_ELEMENT](this = c|<v1>) -> <v2>
|
||||
{ this = c } <v2>: * COPY
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user