[nem-bug] [Nemerle 0000778]: Record macro & field init
feedback at nemerle.org
feedback at nemerle.org
Sat Oct 21 17:07:28 CEST 2006
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=778>
======================================================================
Reported By: VladD2
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 778
Category: The Macro Library
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 10-21-2006 17:07 CEST
Last Modified: 10-21-2006 17:07 CEST
======================================================================
Summary: Record macro & field init
Description:
using Nemerle.Collections;
[Record(Exclude = [VisitedObjects])]
public class RelocationInfo
{
public VisitedObjects : Hashtable[object, byte] = Hashtable();
public FileIndex : int;
public Line : int;
public Char : int;
public LineOffset : int;
public CharOffset : int;
}
def info = RelocationInfo(1, 2, 3, 4, 5);
info.VisitedObjects.Add("test", 0); // NullReferenceException !!!
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
10-21-06 17:07 VladD2 New Issue
======================================================================
More information about the bugs
mailing list