[ ghc-Bugs-1232660 ] Warning and glagow-exts instead of glasgow-exts
SourceForge.net
noreply at sourceforge.net
Mon Jul 11 06:24:31 EDT 2005
Bugs item #1232660, was opened at 2005-07-05 10:26
Message generated for change (Settings changed) made by simonpj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1232660&group_id=8032
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Simon Peyton Jones (simonpj)
Summary: Warning and glagow-exts instead of glasgow-exts
Initial Comment:
Take this module (Bla.hs):
x = [ q | y <- [1..10] | z <- [30..40], let q = z*z]
Loading it into GHCi gives:
[ Bla.hs:1: Illegal parallel list comprehension: use -
fglagow-exts ]
PROBLEM: glagow-exts should be glasgow-exts
If we supply this option, one of the warnings is incorrect:
[ Bla.hs:1: Warning: Defined but not used: y, z ]
PROBLEM: z is used but marked as not used
Cheers, Arjan (afie at cs.uu.nl)
----------------------------------------------------------------------
>Comment By: Simon Peyton Jones (simonpj)
Date: 2005-07-11 10:24
Message:
Logged In: YES
user_id=50165
Thank you. Both bugs now fixed.
Test is rn047
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1232660&group_id=8032
More information about the Glasgow-haskell-bugs
mailing list