Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
August 20, 2011 [Issue 6534] New: const struct definition inside functions too | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6534 Summary: const struct definition inside functions too 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 2011-08-19 23:22:23 PDT --- void foo() { const struct Bar {} } void main() {} DMD 2.055beta: test.d(2): basic type expected, not struct test.d(2): no identifier for declarator int test.d(2): semicolon expected, not 'struct' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 20, 2011 [Issue 6534] const struct definition inside functions too | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6534 --- Comment #1 from bearophile_hugs@eml.cc 2011-08-19 23:42:15 PDT --- The same happens with static structs: void foo() { static const struct Bar {} } void main() {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 30, 2011 [Issue 6534] const struct definition inside functions too | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6534 --- Comment #2 from bearophile_hugs@eml.cc 2011-08-29 18:59:50 PDT --- The same happens with immutable: void foo() { immutable struct Bar1 {} static immutable struct Bar2 {} } void main() {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 15, 2011 [Issue 6534] const struct definition inside functions too | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6534 bearophile_hugs@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zan77137@nifty.com --- Comment #3 from bearophile_hugs@eml.cc 2011-12-15 09:36:17 PST --- *** Issue 7114 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: ------- |
December 16, 2011 [Issue 6534] const struct definition inside functions too | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6534 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Platform|x86 |All OS/Version|Windows |All --- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> 2011-12-15 19:02:01 PST --- https://github.com/D-Programming-Language/dmd/pull/562 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 27, 2011 [Issue 6534] const struct definition inside functions too | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6534 --- Comment #5 from Kenji Hara <k.hara.pg@gmail.com> 2011-12-27 06:26:39 PST --- *** Issue 5213 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: ------- |
October 08, 2012 [Issue 6534] const struct definition inside functions too | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6534 --- Comment #6 from github-bugzilla@puremagic.com 2012-10-08 04:44:21 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0adbdc1d860a1d718d36fc6a982aaeb7667ed1d8 Issue 6534 - const struct definition inside functions too https://github.com/D-Programming-Language/dmd/commit/381eec8240dcc8eeacd9d81285b77f4324f32090 Merge pull request #562 from 9rnsr/fix6534 Issue 6534 & 7065 & 7172 - Parser improvements for inner aggregates -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
October 08, 2012 [Issue 6534] const struct definition inside functions too | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=6534 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |yebblies@gmail.com Resolution| |FIXED --- Comment #7 from yebblies <yebblies@gmail.com> 2012-10-08 22:44:52 EST --- https://github.com/D-Programming-Language/dmd/commit/381eec8240dcc8eeacd9d81285b77f4324f32090 -- 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