Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
March 10, 2013 [Issue 9679] New: Refused const/immutable assignment in conditional | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9679 Summary: Refused const/immutable assignment in conditional 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-03-09 19:47:16 PST --- void main() { if (int x = 1) {} // OK if (auto x = 1) {} // OK if (const int x = 1) {} // OK if (immutable int x = 1) {} // OK if (const x = 1) {} // error if (immutable x = 1) {} // error } dmd 2.063alpha: test.d(6): Error: (arguments) expected following const(x) test.d(7): Error: (arguments) expected following immutable(x) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 26, 2013 [Issue 9679] Refused const/immutable assignment in conditional | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9679 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull Platform|x86 |All OS/Version|Windows |All --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-04-25 23:21:54 PDT --- https://github.com/D-Programming-Language/dmd/pull/1937 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 26, 2013 [Issue 9679] Refused const/immutable assignment in conditional | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9679 --- Comment #2 from github-bugzilla@puremagic.com 2013-04-25 23:47:21 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/95279de35ac5b4ccf7e801b623cbff18dc4f5315 fix Issue 9679 - Refused const/immutable assignment in conditional https://github.com/D-Programming-Language/dmd/commit/af10fde19592278f38862323e5caeda6ccfdebb2 Merge pull request #1937 from 9rnsr/fix9679 Issue 9679 - Refused const/immutable assignment in conditional -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 26, 2013 [Issue 9679] Refused const/immutable assignment in conditional | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9679 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 27, 2013 [Issue 9679] Refused const/immutable assignment in conditional | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9679 --- Comment #3 from github-bugzilla@puremagic.com 2013-04-27 12:31:49 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e00327521af0d48ae052a922737f1664e8dc8488 Additional fix for issue 9679 - see 'redundant storage class' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 26, 2013 [Issue 9679] Refused const/immutable assignment in conditional | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9679 --- Comment #4 from github-bugzilla@puremagic.com 2013-05-26 16:39:23 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/413211e4c22f85cba9703b4d2bad546772ac026b fix issue 9679 - DMD doesn't parse valid PostfixExpression . NewExpression syntax. https://github.com/D-Programming-Language/dmd/commit/3268b854fe0250fd713feb8de40dff5a7bf73c5b Merge pull request #2081 from hpohl/9649 fix issue 9679 - DMD doesn't parse valid PostfixExpression . NewExpression syntax. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 27, 2013 [Issue 9679] Refused const/immutable assignment in conditional | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9679 --- Comment #5 from bearophile_hugs@eml.cc 2013-05-26 19:21:17 PDT --- (In reply to comment #4) > Commits pushed to master at https://github.com/D-Programming-Language/dmd > > https://github.com/D-Programming-Language/dmd/commit/413211e4c22f85cba9703b4d2bad546772ac026b > fix issue 9679 - DMD doesn't parse valid PostfixExpression . > NewExpression syntax. > > https://github.com/D-Programming-Language/dmd/commit/3268b854fe0250fd713feb8de40dff5a7bf73c5b Merge pull request #2081 from hpohl/9649 > > fix issue 9679 - DMD doesn't parse valid PostfixExpression . NewExpression syntax. This seems for issue 9649? -- 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