Commit 7aeda867 authored by simonpj's avatar simonpj
Browse files

[project @ 1999-08-20 12:32:43 by simonpj]

Add rnfail019
parent 31fd59cc
module ShouldFail where
-- !!! Section with with a bad precedence
f x y = (x:y:)
-- GHC 4.04 (as released) let this by, but it's a precedence error.
rnfail019.hs:5:
The operator `:' [infixr 5] of a section
must have lower precedence than the operand `:' [infixr 5]
In the section: `((x : y) :)'
Compilation had errors
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