[nem-bug] [Nemerle 0000664]: Usage of 'this' reference should be
controlled before call to base ctor
feedback at nemerle.org
feedback at nemerle.org
Sun May 7 13:53:26 CEST 2006
The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=664>
======================================================================
Reported By: nazgul
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 664
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 05-07-2006 13:53 CEST
Last Modified: 05-07-2006 13:53 CEST
======================================================================
Summary: Usage of 'this' reference should be controlled
before call to base ctor
Description:
class Base {
public this (_ : Base) {
}
}
class Inh : Base {
public this () {
base (this)
}
}
()
causes verification error:
[IL]: Error: [C:\cygwin\home\nazgul\nemerle\ncc\testsuite\out.exe :
Inh::.ctor][offset 0x00000002][found <uninitialized> ref ('this' ptr)
'Inh'][expected ref 'Base'] Unexpected type on the stack.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-07-06 13:53 nazgul New Issue
======================================================================
More information about the bugs
mailing list