[project @ 2002-06-07 07:16:04 by chak]
authorchak <unknown>
Fri, 7 Jun 2002 07:16:06 +0000 (07:16 +0000)
committerchak <unknown>
Fri, 7 Jun 2002 07:16:06 +0000 (07:16 +0000)
commit2205f0ceeb65d8acb7db953bf4fd2ad673dc55ee
tree456b5f07d2ff8dbdb6d4899cd5cff17d39181f67
parentf3d24c87016078e0e50fa80575e04f340f86acb4
[project @ 2002-06-07 07:16:04 by chak]
Fixed handling of infix operators in types:
- Pretty printing didn't take nested infix operators into account
- Explicit parenthesis were ignored in the fixity parser:
  * I added a constructor `HsParTy' to `HsType' (in the spirit of `HsPar' in
    `HsExpr'), which tracks the use of explicit parenthesis
  * Occurences of `HsParTy' in type-ish things that are not quite types (like
    context predicates) are removed in `ParseUtils'; all other occurences of
    `HsParTy' are removed during type checking (just as it works with `HsPar')
ghc/compiler/hsSyn/HsTypes.lhs
ghc/compiler/parser/ParseUtil.lhs
ghc/compiler/parser/Parser.y
ghc/compiler/parser/RdrHsSyn.lhs
ghc/compiler/rename/RnHsSyn.lhs
ghc/compiler/rename/RnTypes.lhs
ghc/compiler/typecheck/TcMonoType.lhs
ghc/compiler/types/Generics.lhs