pkgsrc/lang/nhc98/patches/patch-ag
kristerw 44796a62d6 Update nhc98 to 1.18.
Changes from 1.16:
# New: Several more packages of hierarchical libraries are included in
  the build: base, parsec, haskell-src, QuickCheck, HaXml, HUnit, Cabal.
# New: FFI improvements: foreign import "dynamic" is now supported, and
  named C header-files are now used.
# New: The compiler now uses cpphs for Haskell source instead of cpp. This
  removes problems with string gaps, primes in identifiers, and so on.
# New: In hmake-interactive, if the readline library is not available,
  the simple line editor now has a history mechanism.
# Bugfix: hmake's processing of cpp conditional directives is improved also.
# Bugfix: More evil bugfixes for gcc versions ? 3.3
# Bugfix: A numeric pattern can now match against a Num newtype.
# Bugfix: Foreign imports and abstract newtypes now play OK together.
# Bugfix: Methods in qualified classes no longer need to be qualified in
  instance decls.
# Bugfix: GreenCard now accepts <<.../...>> syntax.
2005-05-01 22:55:07 +00:00

13 lines
667 B
Text

$NetBSD: patch-ag,v 1.2 2005/05/01 22:55:07 kristerw Exp $
--- src/compiler98/RenameLib.hs 22 Dec 2004 12:58:35 -0000 1.31
+++ src/compiler98/RenameLib.hs 11 Apr 2005 14:24:49 -0000
@@ -216,7 +216,7 @@
(coni:_) ->
case (ntI . dropJust . lookupAT st ) coni of
(NewType _ [] _ [NTcons c _ _,res]) -> (synType,(u,c):newType)
- (NewType _ [] _ [NTvar v _,res]) -> (synType,(u,v):newType)
+ (NewType _ [] _ [NTvar v _,res]) -> (synType, newType)
(NewType _ [] _ [NTapp v1 v2,res]) -> (synType,newType)
-- ^ MW hack: omits potential circularity check!
(NewType _ [] _ (_:_:_)) ->