[nem-bug] [Nemerle 0000737]: Referenced namespace does not exist error.

feedback at nemerle.org feedback at nemerle.org
Sat May 5 14:27:57 CEST 2007


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=737> 
======================================================================
Reported By:                IT
Assigned To:                nazgul
======================================================================
Project:                    Nemerle
Issue ID:                   737
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             08-13-2006 06:11 CEST
Last Modified:              05-05-2007 14:27 CEST
======================================================================
Summary:                    Referenced namespace does not exist error.
Description: 
Code:

using Syyyyyyyyyyyyystem;

public module Program
{
    Main() : void
    {
      def d : DateTime = 1;
    }
}

test.n:7:7:7:10: error: unbound type name `DateTime'

using Syyyyyyyyyyyyystem;

public module Program
{
    Main() : void
    {
    }
}

test.n:1:1:1:26: error: referenced namespace `Syyyyyyyyyyyyystem' does not
exist

It would be better to display this message for both scenarios and this one
should always go first.
======================================================================

----------------------------------------------------------------------
 nazgul - 08-13-06 13:01 
----------------------------------------------------------------------
Fixed on trunk (r6518).

----------------------------------------------------------------------
 divan - 05-03-07 14:45 
----------------------------------------------------------------------
Two more cases where namespace errors are not shown:

using Syyyyyyyyyyyyystem;
class One : DateTime {
}
class Two {
 x : DateTime
}
()

A bit ugly patch is attached.

----------------------------------------------------------------------
 malekith - 05-05-07 10:19 
----------------------------------------------------------------------
Well, it's not that ugly. Please commit!

----------------------------------------------------------------------
 divan - 05-05-07 14:27 
----------------------------------------------------------------------
Done, on r7654.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
08-13-06 06:11 IT             New Issue                                    
08-13-06 13:01 nazgul         Status                   new => resolved     
08-13-06 13:01 nazgul         Resolution               open => fixed       
08-13-06 13:01 nazgul         Assigned To               => nazgul          
08-13-06 13:01 nazgul         Note Added: 0001416                          
08-13-06 13:01 nazgul         Description Updated                          
05-01-07 20:14 divan          Issue Monitored: divan                       
05-03-07 14:45 divan          File Added: passes.n                         
05-03-07 14:45 divan          Note Added: 0001868                          
05-03-07 19:21 divan          Status                   resolved => feedback
05-03-07 19:21 divan          Description Updated                          
05-05-07 10:19 malekith       Note Added: 0001871                          
05-05-07 14:27 divan          Note Added: 0001876                          
05-05-07 14:27 divan          Status                   feedback => resolved
05-05-07 14:27 divan          Description Updated                          
======================================================================




More information about the bugs mailing list