[nem-bug] [Nemerle 0000755]: Confusing error

feedback at nemerle.org feedback at nemerle.org
Fri Sep 15 06:44:35 CEST 2006


The following issue has been UPDATED.
======================================================================
<http://nemerle.org/bugs/view.php?id=755> 
======================================================================
Reported By:                IT
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   755
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             09-15-2006 06:43 CEST
Last Modified:              09-15-2006 06:44 CEST
======================================================================
Summary:                    Confusing error
Description: 
public module Program
{
    Main() : void
    {
        def xxx = "";
        _ = xxxx.Substring(0);
    }
}

I have the following error message with this code:

test.n:6:13:6:27: error: unbound name `xxxx.Substring'

The problem is I start looking what's wrong with 'Substring' identifier.
Compiler should say "unbound name `xxxx'".
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
09-15-06 06:43 IT             New Issue                                    
09-15-06 06:44 IT             Category                 Code Completion Engine =>
Compiler
09-15-06 06:44 IT             Description Updated                          
======================================================================




More information about the bugs mailing list