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

feedback at nemerle.org feedback at nemerle.org
Sat Sep 23 09:24:56 CEST 2006


A NOTE has been added to this issue.
======================================================================
<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-23-2006 09:24 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'".
======================================================================

----------------------------------------------------------------------
 malekith - 09-23-06 09:24 
----------------------------------------------------------------------
The problem is, it is hard to tell "System.StRing" from "xxxx.Substring".
On the other hand, I think we can collect information about all the
namespaces visible in given place and give information about it.

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                          
09-23-06 09:24 malekith       Note Added: 0001451                          
======================================================================




More information about the bugs mailing list