← Back to index
|
Original Bugzilla link
Bug 13503 – [REG2.065] Bad code with -inline, varargs and auto return
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-09-20T07:55:00Z
Last change time
2015-02-18T03:37:24Z
Keywords
pull, wrong-code
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0
by dlang-bugzilla — 2014-09-20T07:55:50Z
/////////// test.d ////////// void f1(string[] s...) { assert(s[0] == "Cheese"); } auto f2(string arg) { string result = arg; return result; } void main() { f1(f2("Cheese")); } ///////////////////////////// Introduced in
https://github.com/D-Programming-Language/dmd/pull/2592
Comment #1
by k.hara.pg — 2014-09-22T08:34:28Z
https://github.com/D-Programming-Language/dmd/pull/4014
Comment #2
by github-bugzilla — 2014-09-26T09:09:52Z
Commits pushed to master at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/ff6e7d6dd1a47356e0025a54ae1d581ca2ccf664
fix Issue 13503 - Bad code with -inline, varargs and auto return
https://github.com/D-Programming-Language/dmd/commit/bc2d215a5d6c3112dfb314f73fc353673f24eb49
Merge pull request #4014 from 9rnsr/fix13503 [REG2.065] Issue 13503 - Bad code with -inline, varargs and auto return
Comment #3
by github-bugzilla — 2015-02-18T03:37:24Z
Commits pushed to 2.067 at
https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/ff6e7d6dd1a47356e0025a54ae1d581ca2ccf664
fix Issue 13503 - Bad code with -inline, varargs and auto return
https://github.com/D-Programming-Language/dmd/commit/bc2d215a5d6c3112dfb314f73fc353673f24eb49
Merge pull request #4014 from 9rnsr/fix13503