Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 05, 2013 [Issue 9652] New: __traits(getAttributes) doesn't work with manifest constants | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9652 Summary: __traits(getAttributes) doesn't work with manifest constants Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: doob@me.com --- Comment #0 from Jacob Carlborg <doob@me.com> 2013-03-05 12:46:35 PST --- The following code: import std.typetuple; @(3) enum foo = 3; void main () { alias TypeTuple!(__traits(getAttributes, foo)) bar; } Results in the following error: test.d(7): Error: first argument is not a symbol -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 11, 2013 [Issue 9652] __traits(getAttributes) doesn't work with manifest constants | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=9652 --- Comment #1 from github-bugzilla@puremagic.com 2013-05-11 09:02:13 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/67fa699e45d16a396520270567fe057d59ea5800 fix Issue 9652 - __traits(getAttributes) doesn't work with manifest constants anonymous enum fix fix code style style fix 2 template arguments, initialized with expression interpreted as expressions in __ traits, not as enum Added lost spaces add getVarExp method move ed initialization into semantic and move semantic into getVarExp. move check to manifestness to semanticTiargs and other changes fix optimize condition and assign to enum test final fixes https://github.com/D-Programming-Language/dmd/commit/869c537d44e362d3ce6a4906b8422196eba33e50 Merge pull request #1960 from IgorStepanov/issue9652 Issue9652 - __traits(getAttributes) doesn't work with manifest constants -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 11, 2013 [Issue 9652] __traits(getAttributes) doesn't work with manifest constants | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=9652 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-05-11 09:31:45 PDT --- Pull request: https://github.com/D-Programming-Language/dmd/pull/1960 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 11, 2013 [Issue 9652] __traits(getAttributes) doesn't work with manifest constants | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | http://d.puremagic.com/issues/show_bug.cgi?id=9652 9999 <sibaqexozequgaba@tempomail.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sibaqexozequgaba@tempomail. | |fr --- Comment #3 from 9999 <sibaqexozequgaba@tempomail.fr> 2013-05-11 09:56:56 PDT --- It says it depends on this: https://github.com/D-Programming-Language/phobos/pull/1283 -- 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