From b85898cd416c6ccdfbfea0eb3d0b2d2c03552f3d Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Thu, 19 Jan 2017 13:26:15 +0100 Subject: fixes #5237 --- tests/vm/textensionmap.nim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/vm/textensionmap.nim (limited to 'tests/vm') diff --git a/tests/vm/textensionmap.nim b/tests/vm/textensionmap.nim new file mode 100644 index 000000000..5d4b25d01 --- /dev/null +++ b/tests/vm/textensionmap.nim @@ -0,0 +1,13 @@ + +# bug #5237 + +import tables +import sets +import sequtils + + +const EXTENSIONMAP = { + "c": @["*.c", "*.h"], +}.toTable() + +const EXTENSIONS = toSet(concat(toSeq(EXTENSIONMAP.values()))) -- cgit 1.4.1-2-gfad0