summaryrefslogtreecommitdiff
path: root/tests/examplefiles
diff options
context:
space:
mode:
authorXia Li-yao <Lysxia@users.noreply.github.com>2019-12-30 04:07:27 -0500
committerMatthäus G. Chajdas <Anteru@users.noreply.github.com>2019-12-30 10:07:27 +0100
commitc74e89cd2a11c77938010c17cfc8579a0c5f40fb (patch)
tree4c8245f289894ff0af1e3ba7a932295ed55ea2f7 /tests/examplefiles
parent1dca455375bd59b7270d0d3d52118e4d67775650 (diff)
downloadpygments-git-c74e89cd2a11c77938010c17cfc8579a0c5f40fb.tar.gz
haskell: Fix highlighting of promoted type operators (#1347)
* haskell: Fix highlighting of promoted type operators Fixes issue #527 Patch originally written by paamayim
Diffstat (limited to 'tests/examplefiles')
-rw-r--r--tests/examplefiles/example.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/examplefiles/example.hs b/tests/examplefiles/example.hs
index 764cab77..8c43b553 100644
--- a/tests/examplefiles/example.hs
+++ b/tests/examplefiles/example.hs
@@ -39,3 +39,6 @@ type family Fam (a :: Type) = r :: Type where
type IntChar = '[Int, Char]
type Falsy = 'False
type Falsy = '(10, 20, 30)
+type EmptyList = '[]
+type TypeCons = 1 ': '[]
+type Times = 1 '* 2