logo       

[ ghc-Bugs-1232660 ] Warning and glagow-exts instead of glasgow-exts: msg#00069

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1232660 ] Warning and glagow-exts instead of glasgow-exts

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@xxxxxxxx)



----------------------------------------------------------------------

>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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise