[nem-bug] [Nemerle 0000534]: evil warning for unused clause,
related to null pattern
feedback at nemerle.org
feedback at nemerle.org
Thu Nov 23 18:26:49 CET 2006
The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=534>
======================================================================
Reported By: malekith
Assigned To: nazgul
======================================================================
Project: Nemerle
Issue ID: 534
Category: Compiler (match compiler)
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 09-20-2005 00:00 CEST
Last Modified: 11-23-2006 18:26 CET
======================================================================
Summary: evil warning for unused clause, related to null
pattern
Description:
public variant FunBody
{
| ILed
| Abstract
}
def foo (x : FunBody) {
match (x) {
| null // this is for parsed events without accessors
| FunBody.Abstract => {}
| FunBody.ILed => {}
}
}
foo (null);
foo (null);
======================================================================
----------------------------------------------------------------------
nazgul - 09-20-05 00:03
----------------------------------------------------------------------
yap, I was hoping that Marcin's patch, which is fixing it could be applied
soon... but it seems it is not clear which one is ok.
----------------------------------------------------------------------
nazgul - 11-23-06 18:26
----------------------------------------------------------------------
Looks like there is no evil warning now and null is handled properly.
Added test case in r6984.
Issue History
Date Modified Username Field Change
======================================================================
09-20-05 00:00 malekith New Issue
09-20-05 00:03 nazgul Note Added: 0000975
10-03-05 19:34 nazgul Status new => confirmed
11-23-06 18:26 nazgul Status confirmed => resolved
11-23-06 18:26 nazgul Resolution open => fixed
11-23-06 18:26 nazgul Assigned To => nazgul
11-23-06 18:26 nazgul Note Added: 0001517
======================================================================
More information about the bugs
mailing list