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

feedback at nemerle.org feedback at nemerle.org
Sat Sep 30 15:31:20 CEST 2006


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=755> 
======================================================================
Reported By:                IT
Assigned To:                malekith
======================================================================
Project:                    Nemerle
Issue ID:                   755
Category:                   Compiler (type engine)
Reproducibility:            always
Severity:                   minor
Priority:                   high
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             09-15-2006 06:43 CEST
Last Modified:              09-30-2006 15:31 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.

----------------------------------------------------------------------
 malekith - 09-30-06 15:02 
----------------------------------------------------------------------
Resolved on trunk, r6739.

Please check if you're happy with current messages.

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                          
09-30-06 01:02 VladD2         Priority                 normal => high      
09-30-06 01:02 VladD2         Category                 Compiler => Compiler
(type engine)
09-30-06 01:02 VladD2         Description Updated                          
09-30-06 15:02 malekith       Note Added: 0001465                          
09-30-06 15:31 malekith       Status                   new => resolved     
09-30-06 15:31 malekith       Resolution               open => fixed       
09-30-06 15:31 malekith       Assigned To               => malekith        
======================================================================




More information about the bugs mailing list