unison/unison-src/tests/compiler-bug.uu
2018-10-15 12:07:54 -04:00

18 lines
390 B
Plaintext

x = 1
Foo.y = 4.0
a =
x + y
()
90
-- Sorry, you hit an error we didn't make a nice message for yet.
-- Here is a summary of the Note:
--
-- simple cause:
-- CompilerBug: PatternMatchFailure
-- path:
-- InSynthesize e=Cycle Foo.y:Float
-- InSynthesize e=(let Cycle Foo.y:Flo...
-- InSynthesize e=(let 4.0 in (Foo.y. ...
-- InSynthesize e=Cycle (x. (Foo.y. (a...