[nem-bug] [Nemerle 0000614]: Record to generate constructor just
for not initialized fields
feedback at nemerle.org
feedback at nemerle.org
Mon May 22 18:05:26 CEST 2006
The following issue has been CLOSED
======================================================================
<http://nemerle.org/bugs/view.php?id=614>
======================================================================
Reported By: Kamil Dworakowski
Assigned To: nazgul
======================================================================
Project: Nemerle
Issue ID: 614
Category: The Macro Library
Reproducibility: N/A
Severity: feature
Priority: normal
Status: closed
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 02-07-2006 13:52 CET
Last Modified: 05-22-2006 18:05 CEST
======================================================================
Summary: Record to generate constructor just for not
initialized fields
Description:
I would like a Record pattern to generate a constructor that doesn't set
already initialized fields. For example
[Record] class C
mutable f: list[A] = []
f2: int
-->
class C
mutable f: list[A] = []
f2: int
public this(f2:int)
this.f2 = f2
======================================================================
----------------------------------------------------------------------
nazgul - 03-25-06 22:55
----------------------------------------------------------------------
The new design (see http://nemerle.org/Record_macro) is now implemented on
trunk (r6164)
Now you can specify which fields you want to include in constructor by
flexible Include and Exclude parameters.
Issue History
Date Modified Username Field Change
======================================================================
02-07-06 13:52 Kamil DworakowskiNew Issue
03-25-06 22:55 nazgul Status new => resolved
03-25-06 22:55 nazgul Resolution open => fixed
03-25-06 22:55 nazgul Assigned To => nazgul
03-25-06 22:55 nazgul Note Added: 0001124
03-25-06 22:55 nazgul Description Updated
03-25-06 22:55 nazgul Additional Information Updated
05-22-06 18:05 nazgul Status resolved => closed
======================================================================
More information about the bugs
mailing list