[Issue 18654] [REG2.080] ICE in tocsym.d

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 26 11:28:40 UTC 2018


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
What compiler version are you using? I can successfully compile the code and
when I run it I get: 

core.exception.AssertError at dmd/phobos/std/algorithm/iteration.d(1749):
predicate is not reflexive
----------------
??:? _d_assert_msg [0x451256]
??:? pure ref std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl.Group
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl.Group.__ctor(std.typecons.RefCounted!(std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl.Impl, 1).RefCounted) [0x4427ac]
??:? pure @property std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl.Group
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl.front() [0x442c98]
??:? void std.format.formatRange!(std.stdio.File.LockingTextWriter,
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl, char).formatRange(ref
std.stdio.File.LockingTextWriter, ref
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl, ref
const(std.format.FormatSpec!(char).FormatSpec)) [0x447dad]
??:? void std.format.formatValueImpl!(std.stdio.File.LockingTextWriter,
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl, char).formatValueImpl(ref
std.stdio.File.LockingTextWriter, ref
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl, ref
const(std.format.FormatSpec!(char).FormatSpec)) [0x447d2d]
??:? void std.format.formatValue!(std.stdio.File.LockingTextWriter,
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl, char).formatValue(ref
std.stdio.File.LockingTextWriter, ref
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl, ref
const(std.format.FormatSpec!(char).FormatSpec)) [0x447d00]
??:? uint std.format.formattedWrite!(std.stdio.File.LockingTextWriter, char,
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl).formattedWrite(ref
std.stdio.File.LockingTextWriter, const(char[]),
std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl) [0x443e0e]
??:? void
std.stdio.File.write!(std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl,
char).write(std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl, char) [0x4438e4]
??:? void
std.stdio.writeln!(std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl).writeln(std.algorithm.iteration.ChunkByImpl!(test.main().__lambda1,
immutable(char)[]).ChunkByImpl) [0x4437dc]
??:? _Dmain [0x441d9a]

--


More information about the Digitalmars-d-bugs mailing list