Commit 1e558c86 authored by simonmar's avatar simonmar
Browse files

[project @ 2001-08-28 14:03:55 by simonmar]

Test that a qualified name can't be bound in a local binding group.

Currently an expected failure because the error message is slightly
wrong (has a duplicated "in").
parent 6fc4f794
......@@ -33,6 +33,7 @@ test "rnfail030" { vtcf("") }
test "rnfail031" { vtcf("") }
test "rnfail032" { vtcf("") }
test "rnfail033" { vtcf("") }
test "rnfail034" { $expect = "fail" vtcf("") }
-- these two are really a multi-module tests
test "Rn037Help" { vtc("") }
......
-- !!! qualified names aren't allowed in local binds either
-- (Haskell 98 (revised) section 5.5.1)
module M where
g x = let M.y = x + 1 in M.y
rnfail034.hs:4:
Invalid use of qualified name `M.y' in a binding group
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment