[Bug #133210] Incorrect source location on defaulting warnings.
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 20 Feb 2001 02:33:10 -0800
Bug #133210, was updated on 2001-Feb-20 02:33
Here is a current snapshot of the bug.
Project: The Glasgow Haskell Compiler
Category: Compiler
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: Incorrect source location on defaulting warnings.
Details: Test program:
> module Test where
> a = 1
> b = 2
When compiled with -Wall gives the following warning messages with
incorrect source locations:
Test.lhs:1: Warning: Defaulting `Num t' to type `Integer'
ni
Test.lhs:1: Warning: Defaulting `Num t' to type `Integer'
The compiler appears to associate the source location of the module
declartion with these warnings instead of the location of the actual
defaulted expression.
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=133210&group_id=8032