summary refs log tree commit diff stats
path: root/nimpretty/tests/expected
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-10-25 11:18:03 +0200
committerAraq <rumpf_a@web.de>2018-10-25 11:18:03 +0200
commit0afca3dd6bc7fc2e52ac78c796b0cb1bbf7d47e8 (patch)
tree952462481cd20fdbebf64ff7ae9a88570abe58ee /nimpretty/tests/expected
parenteb2e494a522a460c1018e46276e662aec00ecfe7 (diff)
downloadNim-0afca3dd6bc7fc2e52ac78c796b0cb1bbf7d47e8.tar.gz
nimpretty: fixes #9504
Diffstat (limited to 'nimpretty/tests/expected')
-rw-r--r--nimpretty/tests/expected/exhaustive.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/exhaustive.nim b/nimpretty/tests/expected/exhaustive.nim
index b114e9b8c..03c4eb929 100644
--- a/nimpretty/tests/expected/exhaustive.nim
+++ b/nimpretty/tests/expected/exhaustive.nim
@@ -338,3 +338,8 @@ proc getKeyAndData(cursor: int; op: int):
 #!nimpretty on
 
 const test = r"C:\Users\-\Desktop\test.txt"
+
+proc abcdef*[T: not (tuple|object|string|cstring|char|ref|ptr|array|seq|distinct)]() =
+  # bug #9504
+  type T2 = a.type
+  discard