-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1906 from certik/loc_fix
Fix ExternalSymbol location
- Loading branch information
Showing
6 changed files
with
34 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
warning: The symbol 'f' imported from modules_02b will shadow the existing symbol 'f' | ||
--> tests/../integration_tests/modules_02.py:1:28 | ||
--> tests/../integration_tests/modules_02.py:1:25 | ||
| | ||
1 | from modules_02b import f, f | ||
| ^ new symbol | ||
|
||
--> tests/../integration_tests/modules_02b.py:3:1 - 5:16 | ||
| | ||
3 | def f(): | ||
| ^^^^^^^^... | ||
... | ||
| ^ old symbol | ||
| | ||
5 | print("f()") | ||
| ...^^^^^^^^^^^^^^^^ old symbol implementation | ||
1 | from modules_02b import f, f | ||
| ^ new symbol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
[0;33;1mwarning[0;0m[0;1m: The symbol 'f' imported from modules_02b will shadow the existing symbol 'f'[0;0m | ||
[0;34;1m-->[0;0m tests/../integration_tests/modules_02.py:1:28 | ||
[0;34;1m-->[0;0m tests/../integration_tests/modules_02.py:1:25 | ||
[0;34;1m|[0;0m | ||
[0;34;1m1 |[0;0m from modules_02b import f, f | ||
[0;34;1m|[0;0m [0;33;1m^ new symbol[0;0m | ||
|
||
[0;34;1m-->[0;0m tests/../integration_tests/modules_02b.py:3:1 - 5:16 | ||
[0;34;1m|[0;0m | ||
[0;34;1m3 |[0;0m def f(): | ||
[0;34;1m|[0;0m [0;33;1m^^^^^^^^...[0;0m | ||
... | ||
[0;34;1m|[0;0m [0;33;1m^ old symbol[0;0m | ||
[0;34;1m|[0;0m | ||
[0;34;1m5 |[0;0m print("f()") | ||
[0;34;1m|[0;0m [0;33;1m...^^^^^^^^^^^^^^^^ old symbol implementation[0;0m | ||
[0;34;1m1 |[0;0m from modules_02b import f, f | ||
[0;34;1m|[0;0m [0;33;1m^ new symbol[0;0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters