summary refs log tree commit diff stats
path: root/tests/misc/tnoop.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-10-27 15:19:28 +0200
committerGitHub <noreply@github.com>2020-10-27 14:19:28 +0100
commit0fb878324eeb39a4707be5ab0fd6ad8412950b78 (patch)
treebb732784f9a31c29fa9c48c29c5be8b11045c4bd /tests/misc/tnoop.nim
parent218acfe3671a5a4b7a4c203b6010fdacbe32051c (diff)
downloadNim-0fb878324eeb39a4707be5ab0fd6ad8412950b78.tar.gz
honor --declaredLocs in more places, including type mismatch errors; also show `kind` with --declaredLocs (#15673)
* honor --declaredLocs in more places, including type mismatch errors
* fix tests
* show declaration location also when type mismatch names clash
Diffstat (limited to 'tests/misc/tnoop.nim')
-rw-r--r--tests/misc/tnoop.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/tnoop.nim b/tests/misc/tnoop.nim
index a1365cfbe..7f5bb1045 100644
--- a/tests/misc/tnoop.nim
+++ b/tests/misc/tnoop.nim
@@ -1,6 +1,6 @@
 discard """
   nimout: '''
-  found 'a' of kind 'var'
+  found 'a' [var declared in tnoop.nim(11, 3)]
   '''
   file: "tnoop.nim"
   line: 13