[nem-bug] [Nemerle 0000696]: [0.9.3] Literal values defined for
class are not visible as such when defining other literal
values for class
feedback at nemerle.org
feedback at nemerle.org
Fri Jun 30 10:16:34 CEST 2006
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=696>
======================================================================
Reported By: Snaury
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 696
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 06-30-2006 10:16 CEST
Last Modified: 06-30-2006 10:16 CEST
======================================================================
Summary: [0.9.3] Literal values defined for class are not
visible as such when defining other literal values for class
Description:
Example code:
public module Test
{
public num1 = 1;
public num2 = num1 %| 2;
}
produces errors:
error: type inference for fields is available only when assigning literal
value to them
error: type inference not allowed here
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
06-30-06 10:16 Snaury New Issue
======================================================================
More information about the bugs
mailing list