www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12156] New: static import of std.ascii in std.regex causes conflict

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12156

           Summary: static import of std.ascii in std.regex causes
                    conflict
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: thecybershadow gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow gmail.com> 2014-02-14
07:13:18 EET ---
////// test.d /////
import std.regex;
import b;

ascii a;

/////// b.d ///////
alias ascii = char;

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 13 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12156


Vladimir Panteleev <thecybershadow gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Vladimir Panteleev <thecybershadow gmail.com> 2014-02-14
09:30:05 EET ---
https://github.com/D-Programming-Language/phobos/pull/1935

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 13 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12156



--- Comment #2 from github-bugzilla puremagic.com 2014-02-14 00:01:15 PST ---
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

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 14 2014
prev sibling next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12156


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |FIXED


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 14 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12156


Martin Nowak <code dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code dawg.eu


--- Comment #3 from Martin Nowak <code dawg.eu> 2014-02-28 11:58:15 PST ---
The problem here is that the private alias from `static import ascii =
std.ascii` conflicts with the public alias in `alias ascii = char`.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 28 2014