Commit 02e0df0a authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Test Trac #7937

parent 28207fb3
module T7937 where
-- Without this operator definition, a precedence parsing error is reported.
-- Perhaps the default precedence is being assumed for the unknown operator?
-- That seems wrong, since there's no way to know what the precedence will be when
-- the operator is defined as the programmer intended.
foo = 3 > 4 *** 5 == 6
Not in scope: ‛***’
Perhaps you meant ‛**’ (imported from Prelude)
......@@ -108,3 +108,4 @@ test('T7338', normal, compile_fail, [''])
test('T7338a', normal, compile_fail, [''])
test('T7454', normal, compile, [''])
test('T7906', normal, compile_fail, [''])
test('T7937', normal, compile_fail, [''])
Supports Markdown
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