diff options
author | Vladislav Zavialov <vlad.z.4096@gmail.com> | 2022-03-10 23:42:49 +0300 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-03-12 07:02:40 -0500 |
commit | cf081476eb60ba8d65335234b654b457154b9d83 (patch) | |
tree | 1d7ae8f04797c0e69f4e6f643e9e4a5103a5bc5f /testsuite | |
parent | e40cf4ef6cab8e02fcd34efdf98f1715bfa7315c (diff) | |
download | haskell-cf081476eb60ba8d65335234b654b457154b9d83.tar.gz |
checkUnboxedLitPat: use non-fatal addError
This enables GHC to report more parse errors in a single pass.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/tests/corelint/T21115.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/corelint/T21115.stderr b/testsuite/tests/corelint/T21115.stderr index cb4f3a3e4f..e7b69f8131 100644 --- a/testsuite/tests/corelint/T21115.stderr +++ b/testsuite/tests/corelint/T21115.stderr @@ -2,3 +2,11 @@ T21115.hs:10:5: error: Illegal unboxed floating point literal in pattern: 0.0## + +T21115.hs:11:5: error: + Illegal unboxed floating point literal in pattern: + 2.0## + +T21115.hs:12:5: error: + Illegal unboxed floating point literal in pattern: + -0.0## |