[nem-bug] [Nemerle 0000797]: problem with caching of properties returning arrays

feedback at nemerle.org feedback at nemerle.org
Wed Nov 29 15:20:07 CET 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=797> 
======================================================================
Reported By:                malekith
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   797
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             11-29-2006 15:20 CET
Last Modified:              11-29-2006 15:20 CET
======================================================================
Summary:                    problem with caching of properties returning arrays
Description: 
class A {
  public Foo : array [int]
  {
    get { System.Console.WriteLine ("Buffer_get called"); array (1) }
  }
}

def a = A ();
a.Foo [0] += 2;

Foo is called twice.
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-29-06 15:20 malekith       New Issue                                    
======================================================================




More information about the bugs mailing list