[nem-bug] [Nemerle 0000598]: LookupInternalType does not check the supported size of Function object

feedback at nemerle.org feedback at nemerle.org
Mon May 22 18:03:52 CEST 2006


The following issue has been CLOSED
======================================================================
<http://nemerle.org/bugs/view.php?id=598> 
======================================================================
Reported By:                marcinm
Assigned To:                malekith
======================================================================
Project:                    Nemerle
Issue ID:                   598
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             01-10-2006 18:03 CET
Last Modified:              05-22-2006 18:03 CEST
======================================================================
Summary:                    LookupInternalType does not check the supported size
of Function object
Description: 
Included program raises an error:
internal_compiler_error.n:32:68:32:79: debug: Internal compiler error,
please report a bug to bugs.nemerle.org. You can try modifying program
near this location.
error: internal compiler error: assertion failed in file
hierarchy/NamespaceTree.n, line 480:
unbound internal type Nemerle.Builtins.Function14
in <0x00156> Nemerle.Compiler.NamespaceTree:LookupInternalType
(Nemerle.Core.list`1 name, Int32 args_count)
...
======================================================================

----------------------------------------------------------------------
 nazgul - 01-10-06 18:53 
----------------------------------------------------------------------
Compiler is trying to create functional value from some_struct's
contructor, which is not supported for 13 parameters :) We should reject
the code with some sane error message.
'typeof (some_struct)' should be used to get the size of the type.

----------------------------------------------------------------------
 malekith - 05-08-06 12:01 
----------------------------------------------------------------------
Reolved on trunk, as of r6245.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
01-10-06 18:03 marcinm        New Issue                                    
01-10-06 18:03 marcinm        File Added: internal_compiler_error.n             
      
01-10-06 18:53 nazgul         Note Added: 0001057                          
01-26-06 21:28 nazgul         Summary                  internal compiler error
=> LookupInternalType does not check the supported size of Function object
01-26-06 21:28 nazgul         Description Updated                          
05-08-06 12:01 malekith       Status                   new => resolved     
05-08-06 12:01 malekith       Resolution               open => fixed       
05-08-06 12:01 malekith       Assigned To               => malekith        
05-08-06 12:01 malekith       Note Added: 0001247                          
05-08-06 12:01 malekith       Description Updated                          
05-22-06 18:03 nazgul         Status                   resolved => closed  
======================================================================




More information about the bugs mailing list