[nem-bug] [Nemerle 0000799]: ICE: can't compile Nemerle.Compiler.Utils project

feedback at nemerle.org feedback at nemerle.org
Sat Dec 2 21:30:06 CET 2006


The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=799> 
======================================================================
Reported By:                IT
Assigned To:                malekith
======================================================================
Project:                    Nemerle
Issue ID:                   799
Category:                   Compiler
Reproducibility:            always
Severity:                   block
Priority:                   urgent
Status:                     resolved
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             12-01-2006 19:06 CET
Last Modified:              12-02-2006 21:30 CET
======================================================================
Summary:                    ICE: can't compile Nemerle.Compiler.Utils project
Description: 
I got ICE during the Nemerle.Compiler.Utils project compilation with the
following stack trace:

C:\Program Files\Nemerle\Nemerle.MSBuild.targets(36,9): error : internal
compiler error: got some unknown exception of type
System.NotImplementedException: The method or operation is not
implemented.
   at
System.Reflection.Emit.FieldOnTypeBuilderInstantiation.get_FieldType()
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 863
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 743
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 935
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 503
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 620
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 547
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 547
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 713
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 547
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 703
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 503
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 547
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 547
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 505
   at Nemerle.Compiler.ILEmitter.emit(TExpr expr) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 713
   at Nemerle.Compiler.ILEmitter.Run() in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\ILEmitter.n:line 145
   at Nemerle.Compiler.MethodBuilder._N__N_l34091_34227.apply_void() in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\HierarchyEmitter.n:line
764
   at Nemerle.Compiler.TypeBuilder.FinalizeType() in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\hierarchy\TypeBuilder.n:line
1627
   at Nemerle.Compiler.TypeBuilder.EmitImplementation() in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\HierarchyEmitter.n:line
589
   at
Nemerle.Compiler.TypesManager._N_emit_impl_28263.apply_void(TypeBuilder
_N_28262) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\HierarchyEmitter.n:line
325
   at
Nemerle.Compiler.TypesManager._N_maybe_f_28753.apply_void(TypeBuilder
_N_28752) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\hierarchy\TypesManager.n:line
225
   at Nemerle.Collections.List.Iter['a](list`1 l, FunctionVoid`1 f) in
C:\Projects\SVN\Nemerle\nemerle\trunk\lib\list.n:line 882
   at Nemerle.Core.list`1.Iter(FunctionVoid`1 f) in
C:\Projects\SVN\Nemerle\nemerle\trunk\lib\list.n:line 307
   at Nemerle.Compiler.TypesManager.Iter(list`1 builders, FunctionVoid`1
f) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\hierarchy\TypesManager.n:line
231
   at Nemerle.Compiler.TypesManager.Iter(FunctionVoid`1 f) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\hierarchy\TypesManager.n:line
242
   at Nemerle.Compiler.TypesManager.compile_all_tyinfos(Boolean aux_phase)
in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\HierarchyEmitter.n:line
349
   at Nemerle.Compiler.TypesManager._N__N_l27841_27932.apply_void() in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\HierarchyEmitter.n:line
214
   at Nemerle.Compiler.Solver.Enqueue(FunctionVoid action) in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\typing\Solver.n:line 197
   at Nemerle.Compiler.TypesManager.EmitDecls() in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\generation\HierarchyEmitter.n:line
213
   at Nemerle.Compiler.ManagerClass.Run() in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\passes.n:line 410
   at Nemerle.CommandlineCompiler.MainClass.main_with_catching() in
C:\Projects\SVN\Nemerle\nemerle\trunk\ncc\main.n:line 86

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

----------------------------------------------------------------------
 malekith - 12-01-06 19:19 
----------------------------------------------------------------------
A workaround is to comment out calls to emit_tuple_function_conversion. I
will try to cook a real solution tomorrow.

----------------------------------------------------------------------
 malekith - 12-01-06 19:21 
----------------------------------------------------------------------
Sorry, I probably wasn't clear enough, you need to comment out these lines
in ILEmitter.n and recompile the compiler.

----------------------------------------------------------------------
 VladD2 - 12-02-06 10:04 
----------------------------------------------------------------------
May be add this project in tests list?

----------------------------------------------------------------------
 malekith - 12-02-06 21:30 
----------------------------------------------------------------------
It should work on trunk now, r7035.

Sorry...

Issue History
Date Modified  Username       Field                    Change              
======================================================================
12-01-06 19:06 IT             New Issue                                    
12-01-06 19:19 malekith       Note Added: 0001543                          
12-01-06 19:21 malekith       Note Added: 0001544                          
12-02-06 10:04 VladD2         Note Added: 0001545                          
12-02-06 21:30 malekith       Status                   new => resolved     
12-02-06 21:30 malekith       Resolution               open => fixed       
12-02-06 21:30 malekith       Assigned To               => malekith        
12-02-06 21:30 malekith       Note Added: 0001546                          
======================================================================




More information about the bugs mailing list