Bug 15825 – dmd's -transition=checkimports reports a false positive for tuple __dollar
Status
RESOLVED
Resolution
FIXED
Severity
blocker
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-03-23T22:37:00Z
Last change time
2016-03-28T14:22:59Z
Assigned to
nobody
Creator
code
Comments
Comment #0 by code — 2016-03-23T22:37:06Z
cat > bug.d << CODE
template anySatisfy(T...)
{
alias anySatisfy = T[$ - 1];
}
alias T = anySatisfy!(int);
CODE
----
dmd -transition=checkimports -c bug
----
bug.d(3): Deprecation: local import search method found variable bug.anySatisfy!int.__dollar instead of variable bug.anySatisfy!int.__dollar
This creates an enormous amount of output when compiling a normal library and renders -transition=checkimports almost unusable.
Comment #1 by github-bugzilla — 2016-03-24T03:15:00Z