Thread overview | ||||||
---|---|---|---|---|---|---|
|
July 11, 2013 [Issue 10609] New: Refused UFCS in __traits(compile) | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=10609 Summary: Refused UFCS in __traits(compile) Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2013-07-11 05:13:26 PDT --- int foo(int x) { return x; } void main() { immutable x = 1; static if (__traits(compiles, foo(x))) pragma(msg, "OK1"); static if (__traits(compiles, 1.foo)) pragma(msg, "OK2"); static if (__traits(compiles, x.foo)) pragma(msg, "OK3"); } Prints: OK1 OK2 Expected: OK1 OK2 OK3 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 12, 2013 [Issue 10609] Refused UFCS in __traits(compile) | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=10609 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> 2013-07-11 20:38:55 PDT --- https://github.com/D-Programming-Language/dmd/pull/2337 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 17, 2013 [Issue 10609] Refused UFCS in __traits(compile) | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=10609 --- Comment #3 from github-bugzilla@puremagic.com 2013-07-16 18:06:36 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/b37e2c49ff026bd880eb49ed4e2dd70ee8ba1d0e fix Issue 10609 - Refused UFCS in __traits(compile) https://github.com/D-Programming-Language/dmd/commit/b1467fabffad1889b28bafb76e32a6acae4b78e4 Merge pull request #2337 from 9rnsr/fix10609 Issue 10609 - Refused UFCS in __traits(compile) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 17, 2013 [Issue 10609] Refused UFCS in __traits(compile) | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=10609 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