Jump to page: 1 2
Thread overview
[Issue 13526] Allow statement: with(auto p = new Panel())
Sep 24, 2014
Ketmar Dark
Sep 24, 2014
Ketmar Dark
Sep 24, 2014
Adam D. Ruppe
Sep 26, 2014
Andrej Mitrovic
Sep 27, 2014
Ketmar Dark
Mar 22, 2015
Ketmar Dark
[Issue 13526] Allow to declare a variable in with statement: with(auto p = new Panel())
Apr 01, 2015
Martin Nowak
Mar 15, 2016
Dragos Carp
Jun 09, 2016
Ketmar Dark
Jun 09, 2016
Sophie
Aug 21, 2020
Basile-z
Dec 17, 2022
Iain Buclaw
September 24, 2014
https://issues.dlang.org/show_bug.cgi?id=13526

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

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

--- Comment #1 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
Created attachment 1432
  --> https://issues.dlang.org/attachment.cgi?id=1432&action=edit
preliminary realization

this is quick-and-dirty patch that allows declarations in with(). hdrgen emits
fixed .di files too.

please note that this is my first patch outside of parser scope and i'm not sure what i'm doing here. it seems to work on simple test cases (see second attachement) but it need to be reviewed by someone who knows compiler internals.

so far the patch seems to not breaking existing code, so it can be safely tested.

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

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

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

Adam D. Ruppe <destructionator@gmail.com> changed:

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

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=11070

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1432|0                           |1
        is obsolete|                            |

--- Comment #3 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
Created attachment 1437
  --> https://issues.dlang.org/attachment.cgi?id=1437&action=edit
new version; this one requires 'parser code cleanup' from 11070

--
March 22, 2015
https://issues.dlang.org/show_bug.cgi?id=13526

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu

--- Comment #4 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
*** Issue 14316 has been marked as a duplicate of this issue. ***

--
April 01, 2015
https://issues.dlang.org/show_bug.cgi?id=13526

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Allow statement: with(auto  |Allow to declare a variable
                   |p = new Panel())            |in with statement:
                   |                            |with(auto p = new Panel())

--
March 15, 2016
https://issues.dlang.org/show_bug.cgi?id=13526

Dragos Carp <dragoscarp@gmail.com> changed:

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

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

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

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

--- Comment #5 from Ketmar Dark <ketmar@ketmar.no-ip.org> ---
*** Issue 16140 has been marked as a duplicate of this issue. ***

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

Sophie <meapineapple@gmail.com> changed:

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

--
« First   ‹ Prev
1 2