digitalmars.D.bugs - [Issue 17876] New: Internal error with red black tree of array of
- d-bugmail puremagic.com (27/27) Oct 04 2017 https://issues.dlang.org/show_bug.cgi?id=17876
https://issues.dlang.org/show_bug.cgi?id=17876 Issue ID: 17876 Summary: Internal error with red black tree of array of arrays Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: ovejacuantica gmail.com Not sure if a problem with phobos or druntime. import std.container.rbtree; void main () { auto a = redBlackTree!(size_t [][]); } With command 'dmd file' or 'ldc file' (DMD 2.076.0 and LDC 1.4.0) gives: /usr/include/dlang/dmd/object.d(3462): Error: static assert "Internal error." /usr/include/dlang/dmd/std/functional.d-mixin-201(201): instantiated from here: __cmp!(const(ulong[]), ulong[]) /usr/include/dlang/dmd/std/container/rbtree.d(866): instantiated from here: binaryFun!(inout(ulong[][]), ulong[][]) /usr/include/dlang/dmd/std/container/rbtree.d(1832): instantiated from here: RedBlackTree!(ulong[][], "a < b", false) --
Oct 04 2017