File tree Expand file tree Collapse file tree 5 files changed +26
-38
lines changed
Expand file tree Collapse file tree 5 files changed +26
-38
lines changed Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 11warning: 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 |
441 | 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
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 11[0;33;1mwarning[0;0m[0;1m: The symbol 'f' imported from modules_02b will shadow the existing symbol 'f'[0;0m
2- [0;34;1m-->[0;0m tests/../integration_tests/modules_02.py:1:28
2+ [0;34;1m-->[0;0m tests/../integration_tests/modules_02.py:1:25
33 [0;34;1m|[0;0m
44[0;34;1m1 |[0;0m from modules_02b import f, f
5- [0;34;1m|[0;0m [0;33;1m^ new symbol[0;0m
6-
7- [0;34;1m-->[0;0m tests/../integration_tests/modules_02b.py:3:1 - 5:16
8- [0;34;1m|[0;0m
9- [0;34;1m3 |[0;0m def f():
10- [0;34;1m|[0;0m [0;33;1m^^^^^^^^...[0;0m
11- ...
5+ [0;34;1m|[0;0m [0;33;1m^ old symbol[0;0m
126 [0;34;1m|[0;0m
13- [0;34;1m5 |[0;0m print("f()")
14- [0;34;1m|[0;0m [0;33;1m...^^^^^^^^^^^^^^^^ old symbol implementation [0;0m
7+ [0;34;1m1 |[0;0m from modules_02b import f, f
8+ [0;34;1m|[0;0m [0;33;1m^ new symbol[0;0m
Original file line number Diff line number Diff line change 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": {
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 }
You can’t perform that action at this time.
0 commit comments