[nem-bug] [Nemerle 0000641]: Compiler crash due to recursive local functions in a generic class method

feedback at nemerle.org feedback at nemerle.org
Sat Apr 1 06:51:30 CEST 2006


The following issue has been SUBMITTED.
======================================================================
<http://nemerle.org/bugs/view.php?id=641> 
======================================================================
Reported By:                amp
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   641
Category:                   Compiler
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             04-01-2006 06:51 CEST
Last Modified:              04-01-2006 06:51 CEST
======================================================================
Summary:                    Compiler crash due to recursive local functions in a
generic class method
Description: 
The compiler crashs with "System.InvalidOperationException: can only be
called in generic type" when a recursive local function in a generic class
method uses functions on an object whose type is a generic parameter. See
the attached code.

Tested with SVN on March 30, 2006 on a recent Ubuntu Dapper. 

Mono --version outputs:

Mono JIT compiler version 1.1.13.4, (C) 2002-2005 Novell, Inc and
Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : normal

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

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-01-06 06:51 amp            New Issue                                    
04-01-06 06:51 amp            File Added: Generics1.n                      
======================================================================




More information about the bugs mailing list