← Back to index
|
Original Bugzilla link
Bug 12156 – static import of std.ascii in std.regex causes conflict
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-02-13T21:13:00Z
Last change time
2014-02-28T11:58:15Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla
See also
https://d.puremagic.com/issues/show_bug.cgi?id=314
Comments
Comment #0
by dlang-bugzilla — 2014-02-13T21:13:18Z
////// test.d ///// import std.regex; import b; ascii a; /////// b.d /////// alias ascii = char;
Comment #1
by dlang-bugzilla — 2014-02-13T23:30:05Z
https://github.com/D-Programming-Language/phobos/pull/1935
Comment #2
by github-bugzilla — 2014-02-14T00:01:15Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/0cc1d701782ef5328660348815c29d67f1f44630
fix Issue 12156 - static import of std.ascii in std.regex causes conflict
https://github.com/D-Programming-Language/phobos/commit/eb4b70dc6112f48cdc3ec85a5ed4342857337afa
Merge pull request #1935 from CyberShadow/std-regex-static-import fix Issue 12156 - static import of std.ascii in std.regex causes conflict
Comment #3
by code — 2014-02-28T11:58:15Z
The problem here is that the private alias from `static import ascii = std.ascii` conflicts with the public alias in `alias ascii = char`.