[nem-bug] [Nemerle 0001053]: ICE with yield and variants

feedback at nemerle.org feedback at nemerle.org
Wed Oct 17 20:04:13 CEST 2007


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=1053> 
======================================================================
Reported By:                rgrig
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   1053
Category:                   Compiler (type engine)
Reproducibility:            unable to duplicate
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             10-17-2007 13:03 CEST
Last Modified:              10-17-2007 20:04 CEST
======================================================================
Summary:                    ICE with yield and variants
Description: 
ICE on the attached file.

Seems related to 991.

I tried with a slightly older SVN version (because the current one does
not compile for me).
======================================================================

----------------------------------------------------------------------
 divan - 10-17-07 18:16 
----------------------------------------------------------------------
Seems that it works with latest SVN version.
What code doesn't it compile for you? ;)
Btw, can you specify which revision gets ICE on this code?

----------------------------------------------------------------------
 rgrig - 10-17-07 19:36 
----------------------------------------------------------------------
ICE happens with -r {2007-8-1}.

If by "What code doesn't it compile for you?" you mean were does the error
point, then it's the 'e' parameter on the line with 'yield'. If you mean
what's my problem with the current SVN, then it's

generation/ILEmitter.n:2228:42:2228:67: error: comparing values of types
System.Reflection.Emit.OpCode and System.Reflection.Emit.OpCode with
reference equality

----------------------------------------------------------------------
 divan - 10-17-07 20:04 
----------------------------------------------------------------------
Yes, i meant current SVN. It's a bug somewhere, strange thing is that it's
only under mono.
Following compiles only under win for some reason

def x = System.Reflection.Emit.OpCodes.Throw;
x == x;

I'll have a look at it.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-17-07 13:03 rgrig          New Issue                                    
10-17-07 13:03 rgrig          File Added: A.n                              
10-17-07 13:05 rgrig          Issue Monitored: rgrig                       
10-17-07 18:16 divan          Note Added: 0001965                          
10-17-07 19:27 divan          Reproducibility          always => unable to
duplicate
10-17-07 19:27 divan          Description Updated                          
10-17-07 19:36 rgrig          Note Added: 0001966                          
10-17-07 20:04 divan          Note Added: 0001967                          
======================================================================




More information about the bugs mailing list