diff options
author | Araq <rumpf_a@web.de> | 2017-12-15 12:16:03 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-12-15 12:16:03 +0100 |
commit | 8db5b32ff73fd01f5fabe50703f3a2f6206275fa (patch) | |
tree | 8ab05597a4cd85d49e26a6beaf23ef1963192e4d /tests/modules/tambig_range.nim | |
parent | 950dadbc71303b74fe18cf434a0a9da0201b0f04 (diff) | |
download | Nim-8db5b32ff73fd01f5fabe50703f3a2f6206275fa.tar.gz |
make type vs proc ambiguous handling more consistent; fixes #6726; fixes #6693
Diffstat (limited to 'tests/modules/tambig_range.nim')
-rw-r--r-- | tests/modules/tambig_range.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/modules/tambig_range.nim b/tests/modules/tambig_range.nim new file mode 100644 index 000000000..48e0e9f52 --- /dev/null +++ b/tests/modules/tambig_range.nim @@ -0,0 +1,9 @@ +discard """ + errormsg: "ambiguous identifier: 'range' --use system.range or mrange.range" + line: 9 +""" + +# bug #6726 +import mrange + +range() |