Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 62c068d

Browse files
committed
Update references
1 parent f8313ab commit 62c068d

16 files changed

+172
-133
lines changed

tests/reference/asr-array_01_decl-39cf894.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-array_01_decl-39cf894.stdout",
9-
"stdout_hash": "a31f210cef724c6bdf84f10ab9f177708e754b8b32ccbe62f0695d5e",
9+
"stdout_hash": "4da5179ea1379b96e351e3b99da44e6e8203126da009959d5bfa814a",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-array_01_decl-39cf894.stdout

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
[]
2020
Local
2121
(IntegerConstant 10 (Integer 4))
22-
(IntegerConstant -1 (Integer 8))
22+
()
2323
Default
2424
(Integer 4)
2525
()
@@ -35,7 +35,7 @@
3535
[]
3636
Local
3737
(IntegerConstant 3 (Integer 4))
38-
(IntegerConstant -1 (Integer 8))
38+
()
3939
Default
4040
(Integer 4)
4141
()

tests/reference/asr-intent_01-66824bc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-intent_01-66824bc.stdout",
9-
"stdout_hash": "3e31bd2856093504660cf2523bd5e1170e70390d0ba9e448e9d18556",
9+
"stdout_hash": "c0705fb1198e342bcc4b376fd83d8b981654f48cf14b8e563bb0ed2e",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-intent_01-66824bc.stdout

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
_global_symbols:
66
(Module
77
(SymbolTable
8-
5
8+
6
99
{
1010
Foo:
1111
(StructType
@@ -36,6 +36,7 @@
3636
Public
3737
.false.
3838
.false.
39+
[(())]
3940
()
4041
()
4142
),
@@ -55,7 +56,7 @@
5556
Default
5657
(Array
5758
(Struct
58-
5 Foo
59+
6 Foo
5960
)
6061
[((IntegerConstant 0 (Integer 4))
6162
(IntegerConstant 5 (Integer 4)))]
@@ -130,7 +131,7 @@
130131
)
131132
(Array
132133
(Struct
133-
5 Foo
134+
6 Foo
134135
)
135136
[((IntegerConstant 0 (Integer 4))
136137
(IntegerConstant 5 (Integer 4)))]
@@ -169,7 +170,7 @@
169170
main_program:
170171
(Program
171172
(SymbolTable
172-
4
173+
5
173174
{
174175

175176
})

tests/reference/asr-structs_01-66dc2c9.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-structs_01-66dc2c9.stdout",
9-
"stdout_hash": "de1e0ae69531d96b875d6da5c8885d25f39bfaf8b58ab8e0fe94d644",
9+
"stdout_hash": "f4abca45051c53d030a0ed049e37e9d22069b73321bc9f4adf4842ce",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-structs_01-66dc2c9.stdout

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
_global_symbols:
66
(Module
77
(SymbolTable
8-
6
8+
7
99
{
1010
S:
1111
(StructType
@@ -53,13 +53,15 @@
5353
Public
5454
.false.
5555
.false.
56+
[(())
57+
(())]
5658
()
5759
()
5860
),
5961
_lpython_main_program:
6062
(Function
6163
(SymbolTable
62-
5
64+
6
6365
{
6466

6567
})
@@ -82,7 +84,7 @@
8284
[main0]
8385
[]
8486
[(SubroutineCall
85-
6 main0
87+
7 main0
8688
()
8789
[]
8890
()
@@ -108,7 +110,7 @@
108110
()
109111
Default
110112
(Struct
111-
6 S
113+
7 S
112114
)
113115
()
114116
Source
@@ -138,11 +140,11 @@
138140
[(=
139141
(Var 3 s)
140142
(StructTypeConstructor
141-
6 S
143+
7 S
142144
[((IntegerConstant 2 (Integer 4)))
143145
(())]
144146
(Struct
145-
6 S
147+
7 S
146148
)
147149
()
148150
)
@@ -163,13 +165,13 @@
163165
main_program:
164166
(Program
165167
(SymbolTable
166-
4
168+
5
167169
{
168170
_lpython_main_program:
169171
(ExternalSymbol
170-
4
172+
5
171173
_lpython_main_program
172-
6 _lpython_main_program
174+
7 _lpython_main_program
173175
_global_symbols
174176
[]
175177
_lpython_main_program
@@ -179,7 +181,7 @@
179181
main_program
180182
[_global_symbols]
181183
[(SubroutineCall
182-
4 _lpython_main_program
184+
5 _lpython_main_program
183185
()
184186
[]
185187
()

tests/reference/asr-structs_01-be14d49.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-structs_01-be14d49.stdout",
9-
"stdout_hash": "abaac1320ea7c83ced0b27e66209c126ba59487ef2230d446992f4a7",
9+
"stdout_hash": "e649bec597d2b56125b28cffe90f5577bc3b94ae504ecf667ad6f4e2",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-structs_01-be14d49.stdout

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
_global_symbols:
66
(Module
77
(SymbolTable
8-
8
8+
9
99
{
1010
A:
1111
(StructType
@@ -53,13 +53,15 @@
5353
Public
5454
.false.
5555
.false.
56+
[(())
57+
(())]
5658
()
5759
()
5860
),
5961
_lpython_main_program:
6062
(Function
6163
(SymbolTable
62-
7
64+
8
6365
{
6466

6567
})
@@ -82,7 +84,7 @@
8284
[g]
8385
[]
8486
[(SubroutineCall
85-
8 g
87+
9 g
8688
()
8789
[]
8890
()
@@ -108,7 +110,7 @@
108110
()
109111
Default
110112
(Struct
111-
8 A
113+
9 A
112114
)
113115
()
114116
Source
@@ -120,7 +122,7 @@
120122
change_struct
121123
(FunctionType
122124
[(Struct
123-
8 A
125+
9 A
124126
)]
125127
()
126128
Source
@@ -208,7 +210,7 @@
208210
()
209211
Default
210212
(Struct
211-
8 A
213+
9 A
212214
)
213215
()
214216
Source
@@ -220,7 +222,7 @@
220222
f
221223
(FunctionType
222224
[(Struct
223-
8 A
225+
9 A
224226
)]
225227
()
226228
Source
@@ -280,7 +282,7 @@
280282
()
281283
Default
282284
(Struct
283-
8 A
285+
9 A
284286
)
285287
()
286288
Source
@@ -311,7 +313,7 @@
311313
[(=
312314
(Var 5 x)
313315
(StructTypeConstructor
314-
8 A
316+
9 A
315317
[((Cast
316318
(RealConstant
317319
3.250000
@@ -326,14 +328,14 @@
326328
))
327329
((IntegerConstant 3 (Integer 4)))]
328330
(Struct
329-
8 A
331+
9 A
330332
)
331333
()
332334
)
333335
()
334336
)
335337
(SubroutineCall
336-
8 f
338+
9 f
337339
()
338340
[((Var 5 x))]
339341
()
@@ -408,7 +410,7 @@
408410
()
409411
)
410412
(SubroutineCall
411-
8 f
413+
9 f
412414
()
413415
[((Var 5 x))]
414416
()
@@ -452,7 +454,7 @@
452454
()
453455
)
454456
(SubroutineCall
455-
8 change_struct
457+
9 change_struct
456458
()
457459
[((Var 5 x))]
458460
()
@@ -510,13 +512,13 @@
510512
main_program:
511513
(Program
512514
(SymbolTable
513-
6
515+
7
514516
{
515517
_lpython_main_program:
516518
(ExternalSymbol
517-
6
519+
7
518520
_lpython_main_program
519-
8 _lpython_main_program
521+
9 _lpython_main_program
520522
_global_symbols
521523
[]
522524
_lpython_main_program
@@ -526,7 +528,7 @@
526528
main_program
527529
[_global_symbols]
528530
[(SubroutineCall
529-
6 _lpython_main_program
531+
7 _lpython_main_program
530532
()
531533
[]
532534
()

tests/reference/asr-structs_02-2ab459a.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-structs_02-2ab459a.stdout",
9-
"stdout_hash": "d00a784956e717045fd5bb8f917b315f717754c7e11069b96d3d3b57",
9+
"stdout_hash": "e5df0fb84bfc694b884736c1c4a5ddaec25933d8dba54e894de3e961",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

0 commit comments

Comments
 (0)