Thread overview
[Issue 14332] support with statement and :
Mar 25, 2015
Ketmar Dark
Mar 25, 2015
Orvid King
Mar 26, 2015
deadalnix
Dec 17, 2022
Iain Buclaw
March 25, 2015
https://issues.dlang.org/show_bug.cgi?id=14332

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> ---
where in specs ':' is specified as scope start?

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

Orvid King <blah38621@gmail.com> changed:

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

--- Comment #2 from Orvid King <blah38621@gmail.com> ---
Going by that same definition, wouldn't:

if (true):
else:

foreach (v; arr):


etc. also be allowed? I don't believe this should be the case.

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

--- Comment #3 from deadalnix <deadalnix@gmail.com> ---
if/else/while actually DO something.

With simply change the identifier resolution rules. In fact, thinking about it, it should even be required that with is a statement.

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--