[nem-bug] [Nemerle 0000698]: [0.9.3] Extension methods not visible on nested types

feedback at nemerle.org feedback at nemerle.org
Fri Jun 30 20:04:10 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=698> 
======================================================================
Reported By:                Snaury
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   698
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             06-30-2006 20:04 CEST
Last Modified:              06-30-2006 20:04 CEST
======================================================================
Summary:                    [0.9.3] Extension methods not visible on nested
types
Description: 
Example code:

#pragma indent

public module Outer
  public module Inner
    public test(this o : object) : void
      System.Console.WriteLine("test calle on object: {0}", o.ToString())

using Outer.Inner

public module Program
  public Main() : void
    def o = System.Object()
    o.test() // error: there is no member named `test' in System.Object
with type ?
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
06-30-06 20:04 Snaury         New Issue                                    
======================================================================




More information about the bugs mailing list