[nem-bug] [Nemerle 0000656]: Assembly attribute don't gets added from assembly-level macro-attribute

feedback at nemerle.org feedback at nemerle.org
Sat Apr 15 19:58:47 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=656> 
======================================================================
Reported By:                OysterDva
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   656
Category:                   The Macro Library
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             04-15-2006 19:58 CEST
Last Modified:              04-15-2006 19:58 CEST
======================================================================
Summary:                    Assembly attribute don't gets added from
assembly-level macro-attribute
Description: 
Such macro won't emit assembly-level attribute into assembly:

[Nemerle.MacroUsage(
  Nemerle.MacroPhase.BeforeInheritance, 
  Nemerle.MacroTargets.Assembly)]
macro AddAttr()
{
  Nemerle.Compiler.AttributeCompiler.AddAssemblyAttribute(
    Nemerle.Compiler.GlobalEnv.Core,
    <[ System.Reflection.AssemblyCompany("foo") ]>);
}

The problem is with "Assembly" macro-attribute target. The same code will
work with MacroTargets.Class, for example.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-15-06 19:58 OysterDva      New Issue                                    
======================================================================




More information about the bugs mailing list