fixes 'import x as y' regression
This commit is contained in:
parent
95595d86a9
commit
fa77547310
2 changed files with 3 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
|||
discard """
|
||||
file: "tselfimport.nim"
|
||||
line: 6
|
||||
line: 7
|
||||
errormsg: "A module cannot import itself"
|
||||
"""
|
||||
import strutils as su # guard against regression
|
||||
import tselfimport #ERROR
|
||||
echo("Hello World")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue