Commit 55fe19b4 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Reworded error message, and slightly fewer -fwarn-lazy-unlifted-bindings warnings

parent 5a37330d
T2806.hs:13:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
Warning: Pattern bindings containing unlifted types should use an outermost bang pattern:
(I# _x) = 4
In an equation for `foo':
foo = 3
where
(I# _x) = 4
foo
= 3
where
(I# _x) = 4
<no location info>:
Failing due to -Werror.
tcfail203.hs:25:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
x = 5#
In an equation for `fail1':
fail1 = 'a'
where
x = 5#
tcfail203.hs:28:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
(I# x) = 5
Warning: Pattern bindings containing unlifted types should use an outermost bang pattern:
(I# x) = 5
In an equation for `fail2':
fail2 = 'a'
where
(I# x) = 5
fail2
= 'a'
where
(I# x) = 5
tcfail203.hs:31:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
(b, I# x) = (True, 5)
Warning: Pattern bindings containing unlifted types should use an outermost bang pattern:
(b, I# x) = (True, 5)
In an equation for `fail3':
fail3 = 'a'
where
(b, I# x) = (True, 5)
tcfail203.hs:34:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
(# b, I# x #) = (# True, 5 #)
In an equation for `fail4':
fail4 = 'a'
where
(# b, I# x #) = (# True, 5 #)
tcfail203.hs:37:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
(# b, x #) = (# True, 5# #)
In an equation for `fail5':
fail5 = 'a'
where
(# b, x #) = (# True, 5# #)
fail3
= 'a'
where
(b, I# x) = (True, 5)
tcfail203.hs:40:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
(I# !x) = 5
Warning: Pattern bindings containing unlifted types should use an outermost bang pattern:
(I# !x) = 5
In an equation for `fail6':
fail6 = 'a'
where
(I# !x) = 5
fail6
= 'a'
where
(I# !x) = 5
tcfail203.hs:43:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
(b, !(I# x)) = (True, 5)
Warning: Pattern bindings containing unlifted types should use an outermost bang pattern:
(b, !(I# x)) = (True, 5)
In an equation for `fail7':
fail7 = 'a'
where
(b, !(I# x)) = (True, 5)
tcfail203.hs:46:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
(# b, !(I# x) #) = (# True, 5 #)
In an equation for `fail8':
fail8 = 'a'
where
(# b, !(I# x) #) = (# True, 5 #)
tcfail203.hs:49:11:
Warning: Bindings containing unlifted types should use an outermost bang pattern:
(# b, !x #) = (# True, 5# #)
In an equation for `fail9':
fail9 = 'a'
where
(# b, !x #) = (# True, 5# #)
fail7
= 'a'
where
(b, !(I# x)) = (True, 5)
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