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

feedback at nemerle.org feedback at nemerle.org
Sat Jun 23 13:11:06 CEST 2007


The following issue has been ASSIGNED.
======================================================================
<http://nemerle.org/bugs/view.php?id=1030> 
======================================================================
Reported By:                marcinm
Assigned To:                divan
======================================================================
Project:                    Nemerle
Issue ID:                   1030
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             06-22-2007 16:54 CEST
Last Modified:              06-23-2007 13:11 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                                    
06-23-07 13:11 divan          Status                   new => assigned     
06-23-07 13:11 divan          Assigned To               => divan           
======================================================================




More information about the bugs mailing list