mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
Merge branch 'devel' into expand-amb-identifier-output
This commit is contained in:
@@ -0,0 +1 @@
|
||||
proc flat*() = echo "flat"
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
discard """
|
||||
errormsg: "module names need to be unique per Nimble package"
|
||||
file: "tnotuniquename/mnotuniquename.nim"
|
||||
output: '''nested
|
||||
flat'''
|
||||
"""
|
||||
|
||||
import mnotuniquename
|
||||
import tnotuniquename/mnotuniquename as nun
|
||||
import tnotuniquename_dir/mnotuniquename as nun
|
||||
|
||||
nested()
|
||||
flat()
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
discard """
|
||||
errormsg: "module names need to be unique per Nimble package"
|
||||
file: "tnotuniquename/mnotuniquename.nim"
|
||||
disabled: "true"
|
||||
"""
|
||||
|
||||
import mnotuniquename
|
||||
|
||||
2
tests/modules/tnotuniquename_dir/mnotuniquename.nim
Normal file
2
tests/modules/tnotuniquename_dir/mnotuniquename.nim
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
proc nested*() = echo "nested"
|
||||
Reference in New Issue
Block a user