Jump to page: 1 2
Thread overview
[Issue 11070] Allow declaration statement in a switch expression
Aug 18, 2014
Vladimir Panteleev
Aug 18, 2014
Vladimir Panteleev
Sep 26, 2014
Andrej Mitrovic
Sep 27, 2014
Ketmar Dark
Sep 27, 2014
Ketmar Dark
Sep 27, 2014
Ketmar Dark
Dec 15, 2014
Ketmar Dark
Jun 09, 2016
Sophie
Dec 17, 2022
Iain Buclaw
Oct 07, 2023
Dlang Bot
Oct 08, 2023
Basile-z
Oct 09, 2023
Dlang Bot
August 18, 2014
https://issues.dlang.org/show_bug.cgi?id=11070

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thecybershadow@gmail.com

--- Comment #8 from Vladimir Panteleev <thecybershadow@gmail.com> ---
Added $25 bounty: https://www.bountysource.com/issues/3785344-allow-declaration-statement-in-a-switch-expression

--
August 18, 2014
https://issues.dlang.org/show_bug.cgi?id=11070

Vladimir Panteleev <thecybershadow@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bounty

--
September 26, 2014
https://issues.dlang.org/show_bug.cgi?id=11070

Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=13526

--
September 27, 2014
https://issues.dlang.org/show_bug.cgi?id=11070

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar@ketmar.no-ip.org

--- Comment #9 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
Created attachment 1434
  --> https://issues.dlang.org/attachment.cgi?id=1434&action=edit
parser code cleanup

--
September 27, 2014
https://issues.dlang.org/show_bug.cgi?id=11070

--- Comment #10 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
Created attachment 1435
  --> https://issues.dlang.org/attachment.cgi?id=1435&action=edit
allow vardecls in switch()

seems to work, but not heavily tested.

--
September 27, 2014
https://issues.dlang.org/show_bug.cgi?id=11070

--- Comment #11 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
Created attachment 1436
  --> https://issues.dlang.org/attachment.cgi?id=1436&action=edit
simple testcase

no grammar fixes, sorry.

--
December 15, 2014
https://issues.dlang.org/show_bug.cgi?id=11070

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ketmar@ketmar.no-ip.org     |

--
June 09, 2016
https://issues.dlang.org/show_bug.cgi?id=11070

Sophie <meapineapple@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=16140

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=11070

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--
October 07, 2023
https://issues.dlang.org/show_bug.cgi?id=11070

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #12 from Dlang Bot <dlang-bot@dlang.rocks> ---
@Mai-Lapyst created dlang/dmd pull request #15656 "Fix issue 11070 - Allow declaration statement in a switch expression" fixing this issue:

- Fix issue 11070 - Allow declaration statement in a switch expression

https://github.com/dlang/dmd/pull/15656

--
« First   ‹ Prev
1 2