Skip to content

Commit abd8709

Browse files
committed
Update reference results
1 parent 8222482 commit abd8709

File tree

5 files changed

+26
-38
lines changed

5 files changed

+26
-38
lines changed

tests/reference/asr-modules_02-ec92e6f.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"stdout": "asr-modules_02-ec92e6f.stdout",
99
"stdout_hash": "2b9767d477601b562ca13e1d770d84bafad8f2647fb778d52fc20d0d",
1010
"stderr": "asr-modules_02-ec92e6f.stderr",
11-
"stderr_hash": "910bed77716460a8f8712eac5e5818c55b7744f45a4a36aa257f3527",
11+
"stderr_hash": "132af04271d3bfd523848990e734bfa3c0aed6e4b85ec4eb87e66720",
1212
"returncode": 0
1313
}
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
warning: The symbol 'f' imported from modules_02b will shadow the existing symbol 'f'
2-
--> tests/../integration_tests/modules_02.py:1:28
2+
--> tests/../integration_tests/modules_02.py:1:25
33
|
44
1 | from modules_02b import f, f
5-
| ^ new symbol
6-
7-
--> tests/../integration_tests/modules_02b.py:3:1 - 5:16
8-
|
9-
3 | def f():
10-
| ^^^^^^^^...
11-
...
5+
| ^ old symbol
126
|
13-
5 | print("f()")
14-
| ...^^^^^^^^^^^^^^^^ old symbol implementation
7+
1 | from modules_02b import f, f
8+
| ^ new symbol

tests/reference/asr_json-modules_02-70a491a.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr_json-modules_02-70a491a.stdout",
9-
"stdout_hash": "baae33b908a2ae0da9c7dd50b6307a768b0360e514987d70d3e37dc4",
9+
"stdout_hash": "a2e97444a1e8cb6a623037d104f24628adeea2d3af9cae5d680a5423",
1010
"stderr": "asr_json-modules_02-70a491a.stderr",
11-
"stderr_hash": "67b8bf471b878cb687ed200fe5d207b6b4acb9d1e1096a930576fba9",
11+
"stderr_hash": "074c73dfbd40f5246b5f400ebe4b1597683344d0c6353cbffc6f32c8",
1212
"returncode": 0
1313
}
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
warning: The symbol 'f' imported from modules_02b will shadow the existing symbol 'f'
2-
--> tests/../integration_tests/modules_02.py:1:28
2+
--> tests/../integration_tests/modules_02.py:1:25
33
|
44
1 | from modules_02b import f, f
5-
| ^ new symbol
6-
7-
--> tests/../integration_tests/modules_02b.py:3:1 - 5:16
8-
|
9-
3 | def f():
10-
| ^^^^^^^^...
11-
...
5+
| ^ old symbol
126
|
13-
5 | print("f()")
14-
| ...^^^^^^^^^^^^^^^^ old symbol implementation
7+
1 | from modules_02b import f, f
8+
| ^ new symbol

tests/reference/asr_json-modules_02-70a491a.stdout

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@
100100
"access": "Public"
101101
},
102102
"loc": {
103-
"first": 157,
104-
"last": 189,
105-
"first_filename": "tests/../integration_tests/modules_02b.py",
106-
"first_line": 3,
107-
"first_column": 1,
108-
"last_filename": "tests/../integration_tests/modules_02b.py",
109-
"last_line": 5,
110-
"last_column": 16
103+
"first": 27,
104+
"last": 27,
105+
"first_filename": "tests/../integration_tests/modules_02.py",
106+
"first_line": 1,
107+
"first_column": 28,
108+
"last_filename": "tests/../integration_tests/modules_02.py",
109+
"last_line": 1,
110+
"last_column": 28
111111
}
112112
},
113113
"main0": {
@@ -822,14 +822,14 @@
822822
"access": "Public"
823823
},
824824
"loc": {
825-
"first": 191,
826-
"last": 215,
827-
"first_filename": "tests/../integration_tests/modules_02c.py",
825+
"first": 154,
826+
"last": 154,
827+
"first_filename": "tests/../integration_tests/modules_02b.py",
828828
"first_line": 1,
829-
"first_column": 1,
830-
"last_filename": "tests/../integration_tests/modules_02c.py",
831-
"last_line": 2,
832-
"last_column": 16
829+
"first_column": 25,
830+
"last_filename": "tests/../integration_tests/modules_02b.py",
831+
"last_line": 1,
832+
"last_column": 25
833833
}
834834
}
835835
}

0 commit comments

Comments
 (0)