Thread overview | |||||
---|---|---|---|---|---|
|
April 05, 2012 [Issue 7829] New: __traits(isStaticFunction) fails for function in supertype | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7829 Summary: __traits(isStaticFunction) fails for function in supertype Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: samukha@voliacable.com --- Comment #0 from Max Samukha <samukha@voliacable.com> 2012-04-05 04:28:01 PDT --- Related to http://d.puremagic.com/issues/show_bug.cgi?id=7828 struct S { static void foo() {}; } struct S2 { S s; alias s this; } static assert(__traits(isStaticFunction, S2.foo)); ---- Error: static assert (__traits(isStaticFunction,s.foo)) is false -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 08, 2013 [Issue 7829] __traits(isStaticFunction) fails for function in supertype | ||||
---|---|---|---|---|
| ||||
Posted in reply to Max Samukha | http://d.puremagic.com/issues/show_bug.cgi?id=7829 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull CC| |andrej.mitrovich@gmail.com AssignedTo|nobody@puremagic.com |andrej.mitrovich@gmail.com --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-08 12:44:47 PST --- This is true for all function trait types because they all use the same macro in the compiler. It will take a while to implement properly but it's doable. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 08, 2013 [Issue 7829] __traits(isStaticFunction) fails for function in supertype | ||||
---|---|---|---|---|
| ||||
Posted in reply to Max Samukha | http://d.puremagic.com/issues/show_bug.cgi?id=7829 --- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-01-08 14:11:42 PST --- https://github.com/D-Programming-Language/dmd/pull/1445 -- 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