You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fails with the latest roc nightly, not sure why though
❯ ./roc_nightly/roc test ./examples/PatternMatching/PatternMatching.roc
── EXPECT FAILED ────────────── ./examples/PatternMatching/PatternMatching.roc ─
This expectation failed:
55│> # Pattern match on a list with these exact elements: Foo, Bar, and then Baz
56│> expect
57│> patternMatch = \input ->
58│> when input is
59│> [Foo, Bar, Baz] -> Bingo
60│> _ -> Other
61│>
62│> (patternMatch [Foo, Bar, Baz] == Bingo)
63│> && (patternMatch [Foo, Bar] != Bingo)
64│> && (patternMatch [Foo, Bar, Baz, Barry] != Bingo)
1 failed and 6 passed in 197 ms.
The text was updated successfully, but these errors were encountered:
This fails with the latest roc nightly, not sure why though
The text was updated successfully, but these errors were encountered: