Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
January 24, 2012 [Issue 7363] New: Eponymous Template doesn't hide internal names in some cases with `static if` | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7363 Summary: Eponymous Template doesn't hide internal names in some cases with `static if` Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: accepts-invalid, rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis <verylonglogin.reg@gmail.com> 2012-01-25 00:43:06 MSK --- It still works sometimes so I decided not to reopen Issue 4675 but create a new one. Testcases: --- template t() { enum e = 0; static if (true) enum t = 0; } static assert(!__traits(compiles, t!().t == 0)); // Assertion fails static assert(t!() == 0); // Error: void has no value --- and --- template t() { static if (true) { enum e = 0; enum t1 = 0; } alias t1 t; } static assert(!__traits(compiles, t!().t == 0)); // Assertion fails static assert(t!() == 0); // Error: void has no value --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 24, 2012 [Issue 7363] Eponymous Template doesn't hide internal names in some cases with `static if` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=7363 --- Comment #1 from Denis <verylonglogin.reg@gmail.com> 2012-01-25 01:25:42 MSK --- By the way, I'm trying to get rig of Issue 4675 workarounds in Phobos and I hope as soon as it will build without these workarounds, Eponymous Templates will be considered working. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 25, 2012 [Issue 7363] Eponymous Template doesn't hide internal names in some cases with `static if` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=7363 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2012-01-25 15:19:22 PST --- https://github.com/D-Programming-Language/dmd/pull/639 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 04, 2012 [Issue 7363] Eponymous Template doesn't hide internal names in some cases with `static if` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=7363 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chadjoan@gmail.com --- Comment #3 from yebblies <yebblies@gmail.com> 2012-02-04 18:42:04 EST --- *** Issue 3338 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 09, 2012 [Issue 7363] Eponymous Template doesn't hide internal names in some cases with `static if` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=7363 --- Comment #4 from github-bugzilla@puremagic.com 2012-02-09 08:35:01 PST --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7b3d07aa5041f478b8008cec2428f5ac41015054 Merge pull request #639 from 9rnsr/fix7363 Issue 7363 - Eponymous Template doesn't hide internal names in some cases with `static if` -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 21, 2012 [Issue 7363] Eponymous Template doesn't hide internal names in some cases with `static if` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=7363 SomeDude <lovelydear@mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear@mailmetrash.com --- Comment #5 from SomeDude <lovelydear@mailmetrash.com> 2012-04-21 05:24:00 PDT --- Compiles and runs on 2.059 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 21, 2012 [Issue 7363] Eponymous Template doesn't hide internal names in some cases with `static if` | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis | http://d.puremagic.com/issues/show_bug.cgi?id=7363 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED 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