[nem-bug] [Nemerle 0001030]: incorrect line number in a warning message

feedback at nemerle.org feedback at nemerle.org
Fri Jun 22 16:54:15 CEST 2007


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1030> 
======================================================================
Reported By:                marcinm
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   1030
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-22-2007 16:54 CEST
Last Modified:              06-22-2007 16:54 CEST
======================================================================
Summary:                    incorrect line number in a warning message
Description: 
ncc incorrectly reports line number in warning. Example:
while (true) {
def _ = 7;
12
}

a.n:2:5:2:10: warning: N10005: ignored computed value of type int
a.n:2:5:2:10: hint: use `_ = ...'; or -nowarn:10005 to avoid the warning

Notice, that the problem is in the third line, not the second one.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-22-07 16:54 marcinm        New Issue                                    
======================================================================




More information about the bugs mailing list