[Issue 23132] New: "cannot access frame pointer" comparing two ranges for equality from v2.099.0
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat May 21 18:05:00 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23132
Issue ID: 23132
Summary: "cannot access frame pointer" comparing two ranges for
equality from v2.099.0
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: regression
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: chalucha at gmail.com
My library unittest fails with:
```D
/home/tomas/dlang/dmd-2.099.0/linux/bin64/../../src/phobos/std/algorithm/comparison.d(1026,30):
Error: cannot access frame pointer of
`during.tests.api.__unittest_L125_C1.MapResult!(__lambda8, Uring).MapResult`
/home/tomas/dlang/dmd-2.099.0/linux/bin64/../../src/phobos/std/algorithm/comparison.d(1026,29):
Error: none of the overloads of template
`std.algorithm.comparison.equal!().equalLoop` are callable using argument types
`!()(MapResult!(__lambda8, Uring), Result)`
/home/tomas/dlang/dmd-2.099.0/linux/bin64/../../src/phobos/std/algorithm/comparison.d(1030,18):
Candidate is: `equalLoop(Rs...)(Rs rs)`
tests/api.d(147,43): Error: template instance
`std.algorithm.comparison.equal!().equal!(MapResult!(__lambda8, Uring),
Result)` error instantiating
```
Failing code is here:
https://github.com/tchaloupka/during/blob/9fa519b3a4192486093691aa2e70809773e9426b/tests/api.d#L147
This was ok until v2.098.1.
I've tried to bisect this using [Digger](https://github.com/CyberShadow/Digger)
and it resulted with https://github.com/dlang/phobos/pull/8284
Which seems to be relevant.
--
More information about the Digitalmars-d-bugs
mailing list