Thread overview | ||||||
---|---|---|---|---|---|---|
|
April 30, 2012 [Issue 8004] New: Direct call of function literal should consider default arguments | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=8004 Summary: Direct call of function literal should consider default arguments 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: k.hara.pg@gmail.com --- Comment #0 from Kenji Hara <k.hara.pg@gmail.com> 2012-04-29 18:15:35 PDT --- This code doesn't compile in git head. auto n = (int n = 10){ return n; }(); This regression is introduced by fixing bug 3866. Calling function literal directly is never indirect call, so this is regression IMO. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 30, 2012 [Issue 8004] Direct call of function literal should consider default arguments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=8004 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2012-04-29 20:26:11 PDT --- https://github.com/D-Programming-Language/dmd/pull/913 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 30, 2012 [Issue 8004] Direct call of function literal should consider default arguments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=8004 --- Comment #2 from github-bugzilla@puremagic.com 2012-04-29 22:38:32 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c62833f09f75091f9fd73edf051c720829513e4b fix Issue 8004 - Direct call of function literal should consider default arguments https://github.com/D-Programming-Language/dmd/commit/aea217c612614d248c412d753ac135e86fad2931 Merge pull request #913 from 9rnsr/fix8004 Issue 8004 - Direct call of function literal should consider default arguments -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 30, 2012 [Issue 8004] Direct call of function literal should consider default arguments | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | http://d.puremagic.com/issues/show_bug.cgi?id=8004 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