summary refs log tree commit diff stats
path: root/tests/lookups/mambsym4.nim
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2024-01-11 14:39:51 +0300
committerGitHub <noreply@github.com>2024-01-11 12:39:51 +0100
commit6650b417779d61a895da23d24ab32ee1388216c2 (patch)
treec56e847d7058d051a27ab528e53a0c34ff1dc351 /tests/lookups/mambsym4.nim
parent29ac3c9986de5731a32beaf015e81a18dd6bd498 (diff)
downloadNim-6650b417779d61a895da23d24ab32ee1388216c2.tar.gz
document the new ambiguous identifier resolution (#23166)
refs #23123

Not sure if detailed enough.
Diffstat (limited to 'tests/lookups/mambsym4.nim')
-rw-r--r--tests/lookups/mambsym4.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lookups/mambsym4.nim b/tests/lookups/mambsym4.nim
new file mode 100644
index 000000000..ed66cc16d
--- /dev/null
+++ b/tests/lookups/mambsym4.nim
@@ -0,0 +1,4 @@
+# Module B
+var x*: int
+proc foo*(b: int) =
+  echo "B: ", b