[nem-bug] [Nemerle 0000642]: Error if list declared without initialisation

feedback at nemerle.org feedback at nemerle.org
Sat Apr 1 19:09:04 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=642> 
======================================================================
Reported By:                VladD2
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   642
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             04-01-2006 19:09 CEST
Last Modified:              04-01-2006 19:09 CEST
======================================================================
Summary:                    Error if list declared without initialisation
Description: 
Error reported for this code:
mutable seq : list[int];
seq = [3];
WriteLine(seq.Head);

Error message:
test-016.n:8:20:8:23: error: parse error near identifier `int': unexpected
end of token sequence
test-016.n:8:20:8:23: error: expected assignment operator =

======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-01-06 19:09 VladD2         New Issue                                    
======================================================================




More information about the bugs mailing list