diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2020-12-23 11:17:28 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-12-24 06:41:43 -0500 |
commit | 9809474462527d36b9e237ee7012b08e0845b714 (patch) | |
tree | c449f6f8f8dd8722e4c879c1ad86ab7772c33515 /testsuite/tests/typecheck/should_fail/TyAppPat_NonlinearMultiAppPat.stderr | |
parent | e7d8e4eec179634b34c284c3fdb0bfd1b85f9928 (diff) | |
download | haskell-9809474462527d36b9e237ee7012b08e0845b714.tar.gz |
Require ScopedTypeVariables+TypeApplications to use type applications in patterns
Fixes #19109.
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/TyAppPat_NonlinearMultiAppPat.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/TyAppPat_NonlinearMultiAppPat.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/typecheck/should_fail/TyAppPat_NonlinearMultiAppPat.stderr b/testsuite/tests/typecheck/should_fail/TyAppPat_NonlinearMultiAppPat.stderr index 4b891df797..87655cb6cf 100644 --- a/testsuite/tests/typecheck/should_fail/TyAppPat_NonlinearMultiAppPat.stderr +++ b/testsuite/tests/typecheck/should_fail/TyAppPat_NonlinearMultiAppPat.stderr @@ -1,4 +1,4 @@ -TyAppPat_NonlinearMultiAppPat.hs:12:6: error: +TyAppPat_NonlinearMultiAppPat.hs:13:6: error: Type variable ‘a’ is already in scope. Type applications in patterns must bind fresh variables, without shadowing. |