[nem-bug] [Nemerle 0000603]: callvirt is emitted when call is sufficient

feedback at nemerle.org feedback at nemerle.org
Thu Jan 26 21:34:22 CET 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=603> 
======================================================================
Reported By:                nazgul
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   603
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             01-26-2006 21:34 CET
Last Modified:              01-26-2006 21:34 CET
======================================================================
Summary:                    callvirt is emitted when call is sufficient
Description: 
#pragma indent

using System

class A
  public foo () : void 
    ()
    
A().foo ()


produces:
...
    IL_0000:  newobj     instance void A::.ctor()
    IL_0005:  callvirt   instance void A::foo()
    IL_000a:  ret
...

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

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-26-06 21:34 nazgul         New Issue                                    
======================================================================




More information about the bugs mailing list