[nem-bug] [Nemerle 0000656]: Assembly attribute don't gets added
from assembly-level macro-attribute
feedback at nemerle.org
feedback at nemerle.org
Sun Apr 30 20:03:42 CEST 2006
The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=656>
======================================================================
Reported By: OysterDva
Assigned To: nazgul
======================================================================
Project: Nemerle
Issue ID: 656
Category: The Macro Library
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 04-15-2006 19:58 CEST
Last Modified: 04-30-2006 20:03 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.
======================================================================
----------------------------------------------------------------------
nazgul - 04-30-06 20:03
----------------------------------------------------------------------
Fixed on trunk (r6208).
Please verify as this macro processing stuff can be tricky in many
situations.
Issue History
Date Modified Username Field Change
======================================================================
04-15-06 19:58 OysterDva New Issue
04-30-06 20:03 nazgul Status new => resolved
04-30-06 20:03 nazgul Resolution open => fixed
04-30-06 20:03 nazgul Assigned To => nazgul
04-30-06 20:03 nazgul Note Added: 0001212
======================================================================
More information about the bugs
mailing list