summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/TyAppPat_Universal.hs
diff options
context:
space:
mode:
authorRyan Scott <ryan.gl.scott@gmail.com>2020-12-23 11:17:28 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-12-24 06:41:43 -0500
commit9809474462527d36b9e237ee7012b08e0845b714 (patch)
treec449f6f8f8dd8722e4c879c1ad86ab7772c33515 /testsuite/tests/typecheck/should_compile/TyAppPat_Universal.hs
parente7d8e4eec179634b34c284c3fdb0bfd1b85f9928 (diff)
downloadhaskell-9809474462527d36b9e237ee7012b08e0845b714.tar.gz
Require ScopedTypeVariables+TypeApplications to use type applications in patterns
Fixes #19109.
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/TyAppPat_Universal.hs')
-rw-r--r--testsuite/tests/typecheck/should_compile/TyAppPat_Universal.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/TyAppPat_Universal.hs b/testsuite/tests/typecheck/should_compile/TyAppPat_Universal.hs
index 7a74ff8403..51b3d5d404 100644
--- a/testsuite/tests/typecheck/should_compile/TyAppPat_Universal.hs
+++ b/testsuite/tests/typecheck/should_compile/TyAppPat_Universal.hs
@@ -1,6 +1,7 @@
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE ExistentialQuantification #-}
+{-# LANGUAGE ScopedTypeVariables #-}
module Main where