File tree Expand file tree Collapse file tree 9 files changed +1901
-1630
lines changed Expand file tree Collapse file tree 9 files changed +1901
-1630
lines changed Original file line number Diff line number Diff line change @@ -431,6 +431,7 @@ function _value_string(ex)
431431 k == K " Symbol" ? " :$(ex. name_val) " :
432432 k == K " globalref" ? " $(ex. mod) .$(ex. name_val) " :
433433 k == K " slot" ? " slot" :
434+ k == K " latestworld" ? " (latestworld)" :
434435 k == K " static_parameter" ? " static_parameter" :
435436 k == K " symbolic_label" ? " label:$(ex. name_val) " :
436437 k == K " symbolic_goto" ? " goto:$(ex. name_val) " :
Original file line number Diff line number Diff line change @@ -31,20 +31,22 @@ begin
3131end
3232# ---------------------
33331 (method TestMod. b)
34- 2 TestMod. b
35- 3 (call core. Typeof % ₂)
36- 4 (call core. svec % ₃)
37- 5 (call core. svec)
38- 6 SourceLocation: :3 : 9
39- 7 (call core. svec % ₄ % ₅ % ₆)
40- 8 --- method core. nothing % ₇
34+ 2 (latestworld)
35+ 3 TestMod. b
36+ 4 (call core. Typeof % ₃)
37+ 5 (call core. svec % ₄)
38+ 6 (call core. svec)
39+ 7 SourceLocation: :3 : 9
40+ 8 (call core. svec % ₅ % ₆ % ₇)
41+ 9 --- method core. nothing % ₈
4142 slots: [slot₁/ # self#(!read) slot₂/c(!read)]
4243 1 TestMod. d
4344 2 (= slot₂/ c % ₁)
4445 3 (return % ₁)
45- 9 TestMod. b
46- 10 (= slot₁/ a % ₉)
47- 11 (return % ₉)
46+ 10 (latestworld)
47+ 11 TestMod. b
48+ 12 (= slot₁/ a % ₁₁)
49+ 13 (return % ₁₁)
4850
4951# #######################################
5052# a.b = ... => setproperty! assignment
@@ -117,17 +119,17 @@ end
117119# UnionAll expansion at global scope results in const decl
118120X{T} = Y{T,T}
119121# ---------------------
120- 1 (const TestMod . X )
121- 2 (call core . TypeVar :T )
122- 3 ( = slot₁/ T % ₂)
123- 4 slot₁ / T
124- 5 TestMod . Y
122+ 1 (call core . TypeVar :T )
123+ 2 (= slot₁ / T % ₁ )
124+ 3 slot₁/ T
125+ 4 TestMod . Y
126+ 5 slot₁ / T
1251276 slot₁/ T
126- 7 slot₁ / T
127- 8 (call core. apply_type % ₅ % ₆ % ₇)
128- 9 (call core . UnionAll % ₄ % ₈)
129- 10 (= TestMod . X % ₉ )
130- 11 (return % ₉ )
128+ 7 (call core . apply_type % ₄ % ₅ % ₆)
129+ 8 (call core. UnionAll % ₃ % ₇)
130+ 9 (constdecl TestMod . X % ₈)
131+ 10 (latestworld )
132+ 11 (return % ₈ )
131133
132134# #######################################
133135# UnionAll expansion in local scope
1441467 (call core. apply_type % ₄ % ₅ % ₆)
1451478 (call core. UnionAll % ₃ % ₇)
1461489 (= slot₁/ X % ₈)
147- 10 (return % ₈)
149+ 10 (latestworld)
150+ 11 (return % ₈)
148151
149152# #######################################
150153# Error: Invalid lhs in `=`
You can’t perform that action at this time.
0 commit comments