mirror of
https://github.com/github/semantic.git
synced 2024-12-01 09:15:01 +03:00
c2a3608154
I discovered a test file in tree-sitter-haskell I overlooked while assigning semantic.
9 lines
209 B
Haskell
9 lines
209 B
Haskell
f = if a then 1 else 2
|
|
f = if a; then b; else c
|
|
f = if (if a then b else c) then d else e
|
|
f = if if a then b else c then d else e
|
|
|
|
head' :: [a] -> a
|
|
head' [] = error "No head for empty lists!"
|
|
head' (x:_) = x
|