1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 22:31:36 +03:00
semantic/test/fixtures/haskell/corpus/statements.B.hs
Rick Winfrey c2a3608154 Add missing assignments
I discovered a test file in tree-sitter-haskell I overlooked while assigning semantic.
2018-06-19 17:37:40 -07:00

9 lines
200 B
Haskell

g = if b then 1 else 2
g = if b; then c; else d
g = if (if b then c else d) then e else f
g = if if b then c else d then e else f
h' :: [a] -> a
h' [] = error "No head for empty lists!"
h' (x:_) = x