[nem-bug] [Nemerle 0000653]: Empty interface can't be defined from macro

feedback at nemerle.org feedback at nemerle.org
Mon Apr 10 07:17:11 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=653> 
======================================================================
Reported By:                OysterDva
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   653
Category:                   Compiler (parser/macros engine)
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             04-10-2006 07:17 CEST
Last Modified:              04-10-2006 07:17 CEST
======================================================================
Summary:                    Empty interface can't be defined from macro
Description: 
If I am running the following macro:

macro TestMacro()
{
  def t = Nemerle.Macros.ImplicitCTX().Env.Define(<[ decl:
    public interface IEmpty {}
  ]>);
  t.Compile();
  <[ () ]>
}

Then interface IEmpty not appears in the resulting assembly. It appears
only if I'm adding some (any) member to it. The same thing happens with
empty interfaces inherited from some other (even non-empty) interfaces.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-10-06 07:17 OysterDva      New Issue                                    
======================================================================




More information about the bugs mailing list