Code



Compilation output:

/opt/compilers/dmd2/include/std/algorithm/iteration.d(1529): Error: function f351.bar.SortedRange!(int[], less).SortedRange.groupBy!().groupBy.ChunkByImpl!(__lambda1, int[]).ChunkByImpl.Group.popFront cannot access frame of function f351.bar.SortedRange!(int[], less).SortedRange.groupBy!().groupBy /opt/compilers/dmd2/include/std/range/primitives.d(777): Error: template instance std.range.primitives.isInputRange!(Group) error instantiating /opt/compilers/dmd2/include/std/algorithm/iteration.d(1549): instantiated from here: isForwardRange!(Group) /opt/compilers/dmd2/include/std/algorithm/iteration.d(1517): Error: constructor f351.bar.SortedRange!(int[], less).SortedRange.groupBy!().groupBy.ChunkByImpl!(__lambda1, int[]).ChunkByImpl.Group.this cannot access frame of function f351.bar.SortedRange!(int[], less).SortedRange.groupBy!().groupBy /opt/compilers/dmd2/include/std/range/primitives.d(777): Error: template instance std.range.primitives.isInputRange!(ChunkByImpl!(__lambda1, int[])) error instantiating /opt/compilers/dmd2/include/std/algorithm/iteration.d(1596): instantiated from here: isForwardRange!(ChunkByImpl!(__lambda1, int[])) /opt/compilers/dmd2/include/std/algorithm/iteration.d(1690): Error: template instance f351.bar.SortedRange!(int[], less).SortedRange.groupBy!().groupBy.ChunkByImpl!(__lambda1, int[]) error instantiating /opt/compilers/dmd2/include/std/range/package.d(7625): instantiated from here: chunkBy!((a, b) => !predFun(a, b) && !predFun(b, a), int[]) /d626/f351.d(10): instantiated from here: groupBy!()

Paste info


Author: Guest
Views: 311
Private: no
Expires: Never
Uploaded: 02.10.15 11:18
Votes: 0

Compilation


Compiler: DMD 2.076.1 ( 2.076.1 )
Pointer size: m64

Actions