diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2015-03-31 00:41:23 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2015-03-31 00:52:32 +0200 |
commit | 5971ad56afbdadc9af1cf9e8d708783d2fddbd95 (patch) | |
tree | 3075720f6ea683af655363c4044b9a8c47a3b344 /testsuite/tests/parser/should_fail/T9225.hs | |
parent | b1d6a6087cdc94f47075f0ad102a167c11b1bf8a (diff) | |
download | haskell-5971ad56afbdadc9af1cf9e8d708783d2fddbd95.tar.gz |
Syntax check package-qualified imports (#9225)
Version numbers are not allowed in the package name of a
package-qualified import.
Reviewed By: austin, ezyang
Differential Revision: https://phabricator.haskell.org/D755
Diffstat (limited to 'testsuite/tests/parser/should_fail/T9225.hs')
-rw-r--r-- | testsuite/tests/parser/should_fail/T9225.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/T9225.hs b/testsuite/tests/parser/should_fail/T9225.hs new file mode 100644 index 0000000000..8122779b63 --- /dev/null +++ b/testsuite/tests/parser/should_fail/T9225.hs @@ -0,0 +1,4 @@ +module T9225 where +-- Should be a parse error: +-- version numbers not allowed in package qualified imports +import "some-package-0.1.2.3" Some.Module |