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

feedback at nemerle.org feedback at nemerle.org
Sat Jul 1 15:54:11 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=699> 
======================================================================
Reported By:                Snaury
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   699
Category:                   Compiler (parser/macros engine)
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             07-01-2006 15:54 CEST
Last Modified:              07-01-2006 15:54 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.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-01-06 15:54 Snaury         New Issue                                    
======================================================================




More information about the bugs mailing list