[nem-bug] [Nemerle 0000571]: Cast is treated as type enforcement in delayed typing

feedback at nemerle.org feedback at nemerle.org
Sun Nov 13 20:11:43 CET 2005


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=571> 
======================================================================
Reported By:                nazgul
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   571
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             11-13-2005 20:11 CET
Last Modified:              11-13-2005 20:11 CET
======================================================================
Summary:                    Cast is treated as type enforcement in delayed
typing
Description: 

[Record]
class Element {
  public Value : object;
  public Foo : int;
}

def f (node) {
  _ = node.Foo + 1;
  _ = node.Value :> array [Element];
}

f (Element (array [Element (null, 1)], 1));
======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
11-13-05 20:11 nazgul         New Issue                                    
======================================================================




More information about the bugs mailing list