[nem-bug] [Nemerle 0000699]: [0.9.3] Add ability to use $(variable : enum) in <[ ]>

feedback at nemerle.org feedback at nemerle.org
Sun Jul 2 15:21:11 CEST 2006


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=699> 
======================================================================
Reported By:                Snaury
Assigned To:                nazgul
======================================================================
Project:                    Nemerle
Issue ID:                   699
Category:                   Compiler (parser/macros engine)
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             07-01-2006 15:54 CEST
Last Modified:              07-02-2006 15:21 CEST
======================================================================
Summary:                    [0.9.3] Add ability to use $(variable : enum) in <[
]>
Description: 
In 0.9.3, it is impossible to write

def v = SomeEnum.SomeValue

<[ $(v : enum) ]>

You have to go manual way:

PExpr.Literal(Literal.FromObject(v))

It would be good if <[ $(variable : enum) ]> syntax was added along with
other literal constructs for integral types.
======================================================================

----------------------------------------------------------------------
 nazgul - 07-02-06 15:21 
----------------------------------------------------------------------
Fixed on trunk (r6418).

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-01-06 15:54 Snaury         New Issue                                    
07-02-06 15:21 nazgul         Status                   new => resolved     
07-02-06 15:21 nazgul         Resolution               open => fixed       
07-02-06 15:21 nazgul         Assigned To               => nazgul          
07-02-06 15:21 nazgul         Note Added: 0001339                          
======================================================================




More information about the bugs mailing list