Skip to content
Snippets Groups Projects
Commit 0b36e002 authored by sof's avatar sof
Browse files

[project @ 1999-01-24 13:45:05 by sof]

Updated desugaring reg. tests
parent b2170318
No related merge requests found
ds002.hs:11:
Pattern match(es) are overlapped in the definition of function `g'
x y z = ...
ds002.hs:7:
Pattern match(es) are overlapped in the definition of function `f'
y = ...
z = ...
ds002.hs:7: Pattern match(es) are overlapped in the definition of function `f':
f y = ...
f z = ...
ds002.hs:11: Pattern match(es) are overlapped in the definition of function `g':
g x y z = ...
ds003.hs:5:
Pattern match(es) are overlapped in the definition of function `f'
(: x (: x1 (: x2 x3))) ~(y, ys) z = ...
x y True = ...
ds003.hs:5: Pattern match(es) are overlapped in the definition of function `f':
f (x : (x1 : (x2 : x3))) ~(y, ys) z = ...
f x y True = ...
ds019.hs:5:
Pattern match(es) are overlapped in the definition of function `f'
d (j, k) p = ...
(e, f, g) l q = ...
h (m, n) r = ...
ds019.hs:5: Pattern match(es) are overlapped in the definition of function `f':
f d (j, k) p = ...
f (e, f, g) l q = ...
f h (m, n) r = ...
ds020.hs:5:
Pattern match(es) are overlapped in the definition of function `a'
~(~[], ~[], ~[]) = ...
ds020.hs:8:
Pattern match(es) are overlapped in the definition of function `b'
~(: ~x (: ~xs ~ys)) = ...
ds020.hs:13:
Pattern match(es) are overlapped in the definition of function `d'
~(n+43) = ...
~(n+999) = ...
ds020.hs:19:
Pattern match(es) are overlapped in the definition of function `f'
(x@~[]) = ...
ds020.hs:5: Pattern match(es) are overlapped in the definition of function `a':
a ~(~[], ~[], ~[]) = ...
ds020.hs:8: Pattern match(es) are overlapped in the definition of function `b':
b ~(~x : (~xs : ~ys)) = ...
ds020.hs:13: Pattern match(es) are overlapped in the definition of function `d':
d ~(n+43) = ...
d ~(n+999) = ...
ds020.hs:19: Pattern match(es) are overlapped in the definition of function `f':
f (x@~[]) = ...
ds022.hs:20:
Pattern match(es) are overlapped in the definition of function `i'
1 1.1 = ...
2 2.2 = ...
ds022.hs:20: Pattern match(es) are overlapped in the definition of function `i':
i 1 1.1 = ...
i 2 2.2 = ...
NOTE: Simplifier still going after 4 iterations; bailing out.
NOTE: Simplifier still going after 4 iterations; baling out.
ds040.hs:7:
Pattern match(es) are overlapped
in the definition of function `^^^^'
_ _ = ...
ds040.hs:7: Pattern match(es) are overlapped in the definition of function `^^^^':
^^^^ _ _ = ...
-- !!! Guard on a tuple pattern, broke 4.01 due to the
-- !!! special handling of unboxed tuples in desugarer.
module ShouldCompile where
f :: Int -> (Int,Int)
f x =
case f x of
(a,b) | a > 0 -> f (x-1)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment