-
Notifications
You must be signed in to change notification settings - Fork 5
/
1.5.0-DEV-4085873ec6.log
184 lines (166 loc) · 4.2 KB
/
1.5.0-DEV-4085873ec6.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
Julia Version 1.5.0-DEV.431
Commit 4085873ec6 (2020-03-10 23:48 UTC)
Platform Info:
OS: Linux (x86_64-pc-linux-gnu)
CPU: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_DEPOT_PATH = ::/usr/local/share/julia
JULIA_NUM_THREADS = 2
Resolving package versions...
Installed PrettyPrint ──────── v0.1.0
Installed NameResolution ───── v0.1.3
Installed OrderedCollections ─ v1.1.0
Installed DataStructures ───── v0.17.10
Updating `~/.julia/environments/v1.5/Project.toml`
71a1bf82 + NameResolution v0.1.3
Updating `~/.julia/environments/v1.5/Manifest.toml`
864edb3b + DataStructures v0.17.10
71a1bf82 + NameResolution v0.1.3
bac558e1 + OrderedCollections v1.1.0
8162dcfd + PrettyPrint v0.1.0
2a0f44e3 + Base64
8ba89e20 + Distributed
b77e0a4c + InteractiveUtils
56ddb016 + Logging
d6f4376e + Markdown
9a3f8284 + Random
9e88b42a + Serialization
6462fe0b + Sockets
8dfed614 + Test
Testing NameResolution
Status `/tmp/jl_VWthkA/Project.toml`
864edb3b DataStructures v0.17.10
71a1bf82 NameResolution v0.1.3
8162dcfd PrettyPrint v0.1.0
8dfed614 Test
Status `/tmp/jl_VWthkA/Manifest.toml`
864edb3b DataStructures v0.17.10
71a1bf82 NameResolution v0.1.3
bac558e1 OrderedCollections v1.1.0
8162dcfd PrettyPrint v0.1.0
2a0f44e3 Base64
8ba89e20 Distributed
b77e0a4c InteractiveUtils
56ddb016 Logging
d6f4376e Markdown
9a3f8284 Random
9e88b42a Serialization
6462fe0b Sockets
8dfed614 Test
test case:
function f(x)
y = 1 + x
g -> begin
y = 2
y + g
end
end
f Scope(
bounds={
f=>LocalVar(f, is_mutable=false, is_shared=false),
y=>LocalVar(y, is_mutable=true, is_shared=true),
x=>LocalVar(x, is_mutable=false, is_shared=false),
},
freevars={},
parent=nothing,
)
lambda Scope(
bounds={
g=>LocalVar(g, is_mutable=false, is_shared=false),
},
freevars={
y=>LocalVar(y, is_mutable=true, is_shared=true),
},
parent=Scope(
bounds={
f=>LocalVar(f, is_mutable=false, is_shared=false),
y=>LocalVar(y, is_mutable=true, is_shared=true),
x=>LocalVar(x, is_mutable=false, is_shared=false),
},
freevars={},
parent=nothing,
),
)
Test Summary: | Pass Total
share freevar | 3 3
test case:
function f(x)
y = 1 + x
g -> begin
local y = 2
y + g
end
end
f Scope(
bounds={
f=>LocalVar(f, is_mutable=false, is_shared=false),
y=>LocalVar(y, is_mutable=false, is_shared=false),
x=>LocalVar(x, is_mutable=false, is_shared=false),
},
freevars={},
parent=nothing,
)
lambda Scope(
bounds={
y=>LocalVar(y, is_mutable=false, is_shared=false),
g=>LocalVar(g, is_mutable=false, is_shared=false),
},
freevars={},
parent=Scope(
bounds={
f=>LocalVar(f, is_mutable=false, is_shared=false),
y=>LocalVar(y, is_mutable=false, is_shared=false),
x=>LocalVar(x, is_mutable=false, is_shared=false),
},
freevars={},
parent=nothing,
),
)
Test Summary: | Pass Total
local | 2 2
test case:
function f(x)
y = 1 + x
g -> begin
local y = 2
y += 1
y + g
end
end
f Scope(
bounds={
f=>LocalVar(f, is_mutable=false, is_shared=false),
y=>LocalVar(y, is_mutable=false, is_shared=false),
x=>LocalVar(x, is_mutable=false, is_shared=false),
},
freevars={},
parent=nothing,
)
lambda Scope(
bounds={
y=>LocalVar(y, is_mutable=true, is_shared=false),
g=>LocalVar(g, is_mutable=false, is_shared=false),
},
freevars={},
parent=Scope(
bounds={
f=>LocalVar(f, is_mutable=false, is_shared=false),
y=>LocalVar(y, is_mutable=false, is_shared=false),
x=>LocalVar(x, is_mutable=false, is_shared=false),
},
freevars={},
parent=nothing,
),
)
Test Summary: | Pass Total
local + mutable | 3 3
Test Summary: | Pass Total
scope extrusion | 1 1
Test Summary: | Pass Total
deeper scope | 1 1
Test Summary: | Pass Total
uninitialized | 1 1
Testing NameResolution tests passed