[Bug 71] ICE with std.algorith.uniq

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Tue Jul 9 13:46:32 PDT 2013


http://bugzilla.gdcproject.org/show_bug.cgi?id=71

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> 2013-07-09 20:46:32 UTC ---
Anyways... it's a frontend closure bug.

(gdb) call debug_generic_expr (exp)
this

(gdb) p exp.base.code
$1 = PARM_DECL

(gdb) call debug_generic_expr (decl_function_context (exp))
CanonicalHuffman.print

(gdb) call debug_generic_expr (current_function_decl)
CanonicalHuffman.print.UniqResult!(__lambda6, SortedRange!(Tuple!(ulong,
Leaf)[], __lambda3)).UniqResult.save


Tut tut, you can't access a parameter from outside of it's context mate...

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the D.gnu mailing list