digitalmars.D.bugs - [Issue 15032] New: [REG2.068.1] coverage output is discreted around
- via Digitalmars-d-bugs (32/32) Sep 08 2015 https://issues.dlang.org/show_bug.cgi?id=15032
https://issues.dlang.org/show_bug.cgi?id=15032 Issue ID: 15032 Summary: [REG2.068.1] coverage output is discreted around the calls to map(), canFind(), filter() Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: jiki red.email.ne.jp This is a 2.068.1 issue, not 2.068.0. The coverage counts for the lines are ommited, around some range operations holding lambdas. Image: |bool isParentOf(in Symbol p, in Symbol sym, in Scope scx ) { | if (!p.hasBaseClass) | return false; | if (!sym) | return false; | auto names = sym.baseClasses; 0000000| if (names.canFind!((a,b)=>a==b)(p.name)) | return true; | auto list = names.map!toAggrSym; 0000000| if (list.canFind!((n, p)=>isParentOf(p, n.s, n.scx))(p)) | return true; | return false; |} --
Sep 08 2015