[Pkg-haskell-maintainers] Bug#635113: Generated code fails to compile: uses bang patterns without corresponding {-# LANGUAGE BangPatterns #-} pragma

Josh Triplett josh at joshtriplett.org
Fri Jul 22 19:16:56 UTC 2011

Package: alex
Version: 2.3.5-2
Severity: grave

The fix for bug 623067 makes alex -g use bang patterns, but doesn't add
the corresponding BangPatterns extension to the list of extensions in
the LANGUAGE pragma at the top of the file.  This makes the generated
code fail to compile:

    Illegal bang-pattern (use -XBangPatterns):
    ! (base)

- Josh Triplett

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-rc6-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages alex depends on:
ii  libc6                     2.13-10        Embedded GNU C Library: Shared lib
ii  libffi5                   3.0.9-7        Foreign Function Interface library
ii  libgmp10                  2:5.0.1+dfsg-7 Multiprecision arithmetic library

alex recommends no packages.

alex suggests no packages.

-- no debconf information

More information about the Pkg-haskell-maintainers mailing list