Thread overview | |||||
---|---|---|---|---|---|
|
February 09, 2012 [Issue 7475] New: Regression(2.058 beta): Template member erroneously inaccessible | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7475 Summary: Regression(2.058 beta): Template member erroneously inaccessible Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: cbkbbejeap@mailinator.com --- Comment #0 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2012-02-09 12:00:45 PST --- a.d: ===================== import b; void main() { int x; foo!(x); } ===================== b.d: ===================== private template templ(alias al) { enum result = ""; } void foo(alias al)() { auto x = templ!(al).result; } ===================== >dmd a.d b.d b.d(8): Error: variable a.result is not accessible from b -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 10, 2012 [Issue 7475] Regression(2.058 beta): Template member erroneously inaccessible | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | http://d.puremagic.com/issues/show_bug.cgi?id=7475 --- Comment #1 from github-bugzilla@puremagic.com 2012-02-10 01:32:18 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c504c3f9f230ffa75ca79d915da095a6e446dca3 fix Issue 7475 - Regression(2.058 beta): Template member erroneously inaccessible -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 10, 2012 [Issue 7475] Regression(2.058 beta): Template member erroneously inaccessible | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | http://d.puremagic.com/issues/show_bug.cgi?id=7475 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation