We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf6dd57 commit 736b0d1Copy full SHA for 736b0d1
tests/errmsgs/t10734.nim
@@ -0,0 +1,19 @@
1
+discard """
2
+ cmd: "nim check $file"
3
+ errormsg: ""
4
+ nimout: '''
5
+t10734.nim(18, 1) Error: invalid indentation
6
+t10734.nim(18, 6) Error: invalid indentation
7
+t10734.nim(19, 7) Error: expression expected, but found '[EOF]'
8
+t10734.nim(17, 5) Error: 'proc' is not a concrete type; for a callback without parameters use 'proc()'
9
+t10734.nim(18, 6) Error: undeclared identifier: 'p'
10
+t10734.nim(18, 6) Error: 'p' cannot be assigned to
11
+t10734.nim(16, 3) Hint: 'T' is declared but not used [XDeclaredButNotUsed]
12
+'''
13
+"""
14
+
15
+type
16
+ T = object
17
+ a:
18
+proc p =
19
+ case
0 commit comments