[nem-bug] [Nemerle 0000829]: Methods and properties can't have the
same names
feedback at nemerle.org
feedback at nemerle.org
Sat Jan 20 20:15:00 CET 2007
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=829>
======================================================================
Reported By: d
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 829
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 01-20-2007 20:15 CET
Last Modified: 01-20-2007 20:15 CET
======================================================================
Summary: Methods and properties can't have the same names
Description:
class C {
Test : int { get { 1 } }
Test () : int { 1 }
}
// error: method C.Test() : int redefined in `C'
// error: first definition here as property `C.Test : int'
// Is that by design ? If so - what's the rationle behind it ?
// Makes no sense to me.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
01-20-07 20:15 d New Issue
======================================================================
More information about the bugs
mailing list