https://bugzilla.novell.com/show_bug.cgi?id=419828

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=419828#c3


Levi Greenspan <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.0.x                       |2.2.x




--- Comment #3 from Levi Greenspan <[email protected]>  2009-03-10 
13:37:32 MST ---
Another update with F# 1.9.6.2 and mono 2.2:

> let rec map f l =
    match l with
    | [] -> []
    | h::t -> f h :: map f t;;

val map : ('a -> 'b) -> 'a list -> 'b list

* error while converting instructions to code for method: map


error FS0192: internal error: a tailcall must be followed by a return, instrs =
[|I_seqpoint (4,15)-(4,29); I_ldarg 1us;
  I_other Microsoft.FSharp.Compiler.AbstractIL.IL+ExtensionInstr; I_ldarg 1us;
  I_other Microsoft.FSharp.Compiler.AbstractIL.IL+ExtensionInstr;
  I_other Microsoft.FSharp.Compiler.AbstractIL.IL+ExtensionInstr; I_stloc 0us;
  I_ldarg 1us; I_other Microsoft.FSharp.Compiler.AbstractIL.IL+ExtensionInstr;
  I_other Microsoft.FSharp.Compiler.AbstractIL.IL+ExtensionInstr; I_stloc 1us;
  I_arith AI_nop; I_ldarg 0us; I_ldloc 1us;
  I_other Microsoft.FSharp.Compiler.AbstractIL.IL+ExtensionInstr; I_ldarg 0us;
  I_ldloc 0us; I_call (Tailcall,map(...),null);
  I_other Microsoft.FSharp.Compiler.AbstractIL.IL+ExtensionInstr; I_ret;
  I_other Microsoft.FSharp.Compiler.AbstractIL.IL+ExtensionInstr; I_ret|]
Please build a small example that reproduces this problem and report it to
[email protected].

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to