[nem-bug] [Nemerle 0000709]: Internal compiler error when declaring
variables in expression in foreach
feedback at nemerle.org
feedback at nemerle.org
Mon Aug 14 22:01:21 CEST 2006
The following issue has been set as DUPLICATE OF issue 0000740.
======================================================================
<http://nemerle.org/bugs/view.php?id=709>
======================================================================
Reported By: Snaury
Assigned To:
======================================================================
Project: Nemerle
Issue ID: 709
Category: Compiler
Reproducibility: always
Severity: minor
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 07-04-2006 21:45 CEST
Last Modified: 08-14-2006 22:01 CEST
======================================================================
Summary: Internal compiler error when declaring variables in
expression in foreach
Description:
foreach(o in { mutable _temp : object = object(); _temp } :> IEnumerable)
Console.WriteLine(o)
_bug-2.n:6:51:6:56: warning: unregistered local a local value _temp, 1091
error: internal compiler error: assertion failed in file typing/Typer2.n,
line 753
at Nemerle.Compiler.Typer2.DoWalk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.Walk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.DoWalk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.Walk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.DoWalk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.Walk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.DoWalk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.Walk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.DoWalk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.Walk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.DoWalk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.Walk(Context ctx, TExpr expr)
at Nemerle.Compiler.Typer2.Run()
at Nemerle.Compiler.Typer..ctor(MethodBuilder m)
at Nemerle.Compiler.MethodBuilder.RunBodyTyper()
at Nemerle.Compiler.MethodBuilder.Compile()
at Nemerle.Compiler.TypeBuilder.EmitImplementation()
at
Nemerle.Compiler.TypesManager._N_emit_impl_24909.apply_void(TypeBuilder
_N_24908)
at
Nemerle.Compiler.TypesManager._N_maybe_f_25356.apply_void(TypeBuilder
_N_25355)
at Nemerle.Collections.List.Iter['a](list`1 l, FunctionVoid`1 f)
at Nemerle.Core.list`1.Iter(FunctionVoid`1 f)
at Nemerle.Compiler.TypesManager.Iter(list`1 builders, FunctionVoid`1
f)
at Nemerle.Compiler.TypesManager.compile_all_tyinfos(Boolean
aux_phase)
at Nemerle.Compiler.TypesManager._N__N_l24486_24577.apply_void()
at Nemerle.Compiler.Solver.Enqueue(FunctionVoid action)
at Nemerle.Compiler.TypesManager.EmitDecls()
at Nemerle.Compiler.ManagerClass.Run()
at Nemerle.CommandlineCompiler.MainClass.main_with_catching()
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0000740 Unregistered local when macro emits typ...
======================================================================
----------------------------------------------------------------------
Snaury - 08-14-06 21:59
----------------------------------------------------------------------
Now rereported as bug 740
Issue History
Date Modified Username Field Change
======================================================================
07-04-06 21:45 Snaury New Issue
08-14-06 21:59 Snaury Status new => closed
08-14-06 21:59 Snaury Note Added: 0001421
08-14-06 21:59 Snaury Description Updated
08-14-06 22:01 nazgul Relationship added duplicate of 0000740
======================================================================
More information about the bugs
mailing list