diff options
Diffstat (limited to 'compiler/GHC/Parser.y')
| -rw-r--r-- | compiler/GHC/Parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Parser.y b/compiler/GHC/Parser.y index 904f566458..360c464327 100644 --- a/compiler/GHC/Parser.y +++ b/compiler/GHC/Parser.y @@ -462,7 +462,7 @@ Example: foo :: (:%) Ambiguity: - If we reduced, (:%) would be parsed as a parenthehsized infix type + If we reduced, (:%) would be parsed as a parenthesized infix type expression without arguments, resulting in the 'failOpFewArgs' error. We shift, so it is parsed as a type constructor. |
