Jump to page: 1 2
Thread overview
[Issue 11671] New: dget.d(49): Error: ScopeDsymbol dget.__anonymous.__anonymous template std.regex.ctRegex(alias pattern, alias flags = []) is private
Dec 03, 2013
Timothee Cour
Dec 03, 2013
Timothee Cour
Dec 03, 2013
Timothee Cour
Dec 03, 2013
Martin Nowak
Dec 03, 2013
Dmitry Olshansky
Dec 03, 2013
Timothee Cour
Dec 03, 2013
Timothee Cour
[Issue 11671] ctRegex broken
Dec 04, 2013
Martin Nowak
Dec 04, 2013
Kenji Hara
Dec 04, 2013
Dmitry Olshansky
Dec 04, 2013
Jakob Ovrum
Dec 09, 2013
Kenji Hara
December 03, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671

           Summary: dget.d(49): Error: ScopeDsymbol
                    dget.__anonymous.__anonymous template
                    std.regex.ctRegex(alias pattern, alias flags = []) is
                    private
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: timothee.cour2@gmail.com


--- Comment #0 from Timothee Cour <timothee.cour2@gmail.com> 2013-12-03 11:09:49 PST ---
when building from git head I now get, when running make -f posix.mak under tools:

dget.d(49): Error: ScopeDsymbol dget.__anonymous.__anonymous template
std.regex.ctRegex(alias pattern, alias flags = []) is private

How come those errors aren't automatically caught? isn't there an autotester for tools repo? I've seen many breakages for tools repo.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 03, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671


Timothee Cour <timothee.cour2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2@gmail.com
           Severity|normal                      |regression


-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 03, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671



--- Comment #1 from Timothee Cour <timothee.cour2@gmail.com> 2013-12-03 11:24:37 PST ---
https://github.com/D-Programming-Language/tools/pull/91

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 03, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671


Martin Nowak <code@dawg.eu> changed:

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


--- Comment #2 from Martin Nowak <code@dawg.eu> 2013-12-03 12:11:37 PST ---
> How come those errors aren't automatically caught? isn't there an autotester
for tools repo?

No test suite for tools currently :(, though some work was started for rdmd.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 03, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671


Dmitry Olshansky <dmitry.olsh@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh@gmail.com


--- Comment #3 from Dmitry Olshansky <dmitry.olsh@gmail.com> 2013-12-03 12:20:55 PST ---
Works for me, I run

dmd dget.d

with whatever version of DMD 2.065 alpha I had.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 03, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671



--- Comment #4 from Timothee Cour <timothee.cour2@gmail.com> 2013-12-03 13:22:07 PST ---
(In reply to comment #2)
> > How come those errors aren't automatically caught? isn't there an autotester
> for tools repo?
> 
> No test suite for tools currently :(, though some work was started for rdmd.

Before even thinking of a writing an elaborate test suite, there should at the very least be a unittest (or other program) that tries to build the various makefiles. Currently that's what failed so many times for me.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 03, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671



--- Comment #5 from Timothee Cour <timothee.cour2@gmail.com> 2013-12-03 13:24:20 PST ---
(In reply to comment #3)
> Works for me, I run
> 
> dmd dget.d
> 
> with whatever version of DMD 2.065 alpha I had.

It failed for me on that step:
dmd -c -ofgenerated/osx/64/dget.o dget.d
(on osx)
and it worked with my pull.
(note, I'm building from git head)

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 04, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671


Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|dget.d(49): Error:          |ctRegex broken
                   |ScopeDsymbol                |
                   |dget.__anonymous.__anonymou |
                   |s template                  |
                   |std.regex.ctRegex(alias     |
                   |pattern, alias flags = [])  |
                   |is private                  |


--- Comment #6 from Martin Nowak <code@dawg.eu> 2013-12-03 17:10:13 PST ---
cat > bug.d << CODE
import std.regex;

void main()
{
    enum rule = ctRegex!"";
}
CODE

dmd -c bug
----
bug.d(5): Error: module bug template std.regex.ctRegex(alias pattern, alias
flags = []) is private
----

Fails for me too.
DMD64 D Compiler v2.065-devel-7088593
druntime-8cfd7f5
phobos-ae34e22

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 04, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671


Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull, rejects-valid


--- Comment #7 from Kenji Hara <k.hara.pg@gmail.com> 2013-12-03 23:38:26 PST ---
https://github.com/D-Programming-Language/phobos/pull/1745

It's accidentally caused by the change: https://github.com/D-Programming-Language/phobos/pull/1733/files#diff-f1d62df271dc3289f02f4a1cad365223L5850

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 04, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11671



--- Comment #8 from github-bugzilla@puremagic.com 2013-12-04 00:25:32 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/29099f989477a6aa69e2ee833f322bf9e8dbd680 fix Issue 11671 - ctRegex broken

https://github.com/D-Programming-Language/phobos/commit/ea8ad591213384ef4918c51588c550f1ef2d36a6 Merge pull request #1745 from 9rnsr/fix11671

Issue 11671 - ctRegex broken

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
« First   ‹ Prev
1 2