June 18, 2012 [Issue 3646] Default values of function arguments are ignored when instantiating a template. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eldar Insafutdinov | http://d.puremagic.com/issues/show_bug.cgi?id=3646 Mike Parker <aldacron@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|D2 |D1 & D2 Severity|regression |normal --- Comment #9 from Mike Parker <aldacron@gmail.com> 2012-06-17 22:02:35 PDT --- Somehow I managed to change the settings on the wrong bug. Sorry for the noise. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 02, 2012 [Issue 3646] Default values of function arguments are ignored when instantiating a template. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eldar Insafutdinov | http://d.puremagic.com/issues/show_bug.cgi?id=3646 Jonathan M Davis <jmdavisProg@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |puneet@coverify.org --- Comment #10 from Jonathan M Davis <jmdavisProg@gmx.com> 2012-07-02 08:34:37 PDT --- *** Issue 8336 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 06, 2012 [Issue 3646] Default values of function arguments are ignored when instantiating a template. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eldar Insafutdinov | http://d.puremagic.com/issues/show_bug.cgi?id=3646 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #11 from Kenji Hara <k.hara.pg@gmail.com> 2012-09-05 18:53:52 PDT --- D2 pull: https://github.com/D-Programming-Language/dmd/pull/1102 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 04, 2013 [Issue 3646] Default values of function arguments are ignored when instantiating a template. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eldar Insafutdinov | http://d.puremagic.com/issues/show_bug.cgi?id=3646 --- Comment #12 from github-bugzilla@puremagic.com 2013-07-04 03:03:45 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/877e7bfd7c29fb016323934bb04bd3420bffe5c7 Default args and arg identifiers are now volatile information in TypeFunction. 1. The extra informations would be kept after semantic analysis for function pointer and delegate types. But merging type would strip all the extras from the type structure, then cache the stripped copy into. 2. The types has extra informations cannot be named. In other words, AliasDeclaration would always strip the aliased type. This rule also works for Template Type Parameter, and fixes issue 3646 well. 3. CondExp would strip them from the type of its result. https://github.com/D-Programming-Language/dmd/commit/bce2d07d6cd2c09a5153afc65260b63c32447ade fix Issue 3646 - Default values of function arguments are ignored when instantiating a template. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 04, 2013 [Issue 3646] Default values of function arguments are ignored when instantiating a template. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Eldar Insafutdinov | http://d.puremagic.com/issues/show_bug.cgi?id=3646 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Version|D1 & D2 |D2 Resolution| |FIXED --- Comment #13 from Kenji Hara <k.hara.pg@gmail.com> 2013-07-04 04:51:50 PDT --- Right now, default argument is changed to not part of function type in D2. -- 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