summary refs log tree commit diff stats
path: root/tests/stylecheck/t20397_1.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stylecheck/t20397_1.nim')
-rw-r--r--tests/stylecheck/t20397_1.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/stylecheck/t20397_1.nim b/tests/stylecheck/t20397_1.nim
new file mode 100644
index 000000000..76c03dca1
--- /dev/null
+++ b/tests/stylecheck/t20397_1.nim
@@ -0,0 +1,8 @@
+discard """
+  matrix: "--styleCheck:off --hint:Name:on"
+"""
+
+{.hintAsError[Name]:on.}
+var a_b = 1
+discard a_b
+{.hintAsError[Name]:off.}
2018-12-01 14:13:33 -0800 committer Kartik Agaram <vc@akkartik.com> 2018-12-01 14:13:33 -0800 4814' href='/akkartik/mu/commit/html/continuation1.mu.html?h=hlt&id=e4ac3c9e6e5464a0fc0f8fd3763a572e0e180c04'>e4ac3c9e ^
36365244 ^
































e4ac3c9e ^
36365244 ^
d55e7738 ^
36365244 ^

d55e7738 ^
ef7d834f ^







b301e0c0 ^
ef7d834f ^
b301e0c0 ^
ef7d834f ^



b301e0c0 ^
ef7d834f ^
4a48bedc ^
e82dc626 ^
f0c55e6b ^
ef7d834f ^
36365244 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90