summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7332.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T7332.hs')
-rw-r--r--testsuite/tests/polykinds/T7332.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/polykinds/T7332.hs b/testsuite/tests/polykinds/T7332.hs
index 75a6cbc991..a4c1761e7f 100644
--- a/testsuite/tests/polykinds/T7332.hs
+++ b/testsuite/tests/polykinds/T7332.hs
@@ -8,6 +8,7 @@
module T7332 where
import GHC.Exts( IsString(..) )
+import Data.Kind (Type)
import Data.Monoid
import Data.Semigroup
@@ -19,7 +20,7 @@ instance IsString (DC String) where
class Monoid acc => Build acc r where
- type BuildR r :: * -- Result type
+ type BuildR r :: Type -- Result type
build :: (acc -> BuildR r) -> acc -> r
instance Monoid dc => Build dc (DC dx) where