Skip to content

Commit 57f8e8c

Browse files
committed
Add test for issue #178
1 parent e679382 commit 57f8e8c

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

test/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ ticketsBroken=(
1313
"T0153.hs"
1414
"T0165.hs"
1515
"T0167.hs"
16+
"T0178.hs"
1617
)
1718

1819
# Colours used to display test outputs.

test/tickets/T0178.hs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
-- SYNTAX TEST "source.haskell" "Multiline type signature in brackets"
2+
3+
proof :: SomeVeryLongExpression a b
4+
:~: SomeOtherLongExpression c d
5+
-- ^^^ storage.type.operator.infix.haskell
6+
-- ^^^^^^^^^^^^^^^^^^^^^^^ storage.type.haskell
7+
-- ^ ^ variable.other.generic-type.haskell
8+
9+
quux ( proof :: SomeVeryLongExpression a b
10+
:~: SomeOtherLongExpression c d
11+
-- ^^^ storage.type.operator.infix.haskell
12+
-- ^^^^^^^^^^^^^^^^^^^^^^^ storage.type.haskell
13+
-- ^ ^ variable.other.generic-type.haskell
14+
)
15+
16+
quux [ x :: a
17+
B c ]
18+
-- ^ storage.type.haskell
19+
-- ^ variable.other.generic-type.haskell

0 commit comments

Comments
 (0)