[Issue 14323] Bad code generation in dfmt

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Mar 30 12:49:18 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14323

Vladimir Panteleev <thecybershadow at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow at gmail.com

--- Comment #1 from Vladimir Panteleev <thecybershadow at gmail.com> ---
What DMD version?

With 2.066.0 I get:

src/dfmt/wrapping.d(187): Error: pure function
'dfmt.wrapping.validMoves!(RedBlackTree!(State, "a < b", false)).validMoves'
cannot call impure function 'std.container.rbtree.RedBlackTree!(State, "a < b",
false).RedBlackTree.stableInsert!(State).stableInsert'
src/dfmt/wrapping.d(165): Error: template instance
dfmt.wrapping.validMoves!(RedBlackTree!(State, "a < b", false)) error
instantiating

And then it seems to freeze up.

--


More information about the Digitalmars-d-bugs mailing list