From 92e10e4b182f4b106db79f4be228e19b2720d043 Mon Sep 17 00:00:00 2001 From: Araq Date: Wed, 28 Nov 2012 23:54:23 +0100 Subject: implemented 'import except' --- tests/reject/timportexcept.nim | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/reject/timportexcept.nim (limited to 'tests/reject/timportexcept.nim') diff --git a/tests/reject/timportexcept.nim b/tests/reject/timportexcept.nim new file mode 100644 index 000000000..93a7fd642 --- /dev/null +++ b/tests/reject/timportexcept.nim @@ -0,0 +1,10 @@ +discard """ + line: 9 + errormsg: "undeclared identifier: '%'" +""" + +import strutils except `%` + +# doesn't work +echo "$1" % "abc" + -- cgit 1.4.1-2-gfad0