https://issues.dlang.org/show_bug.cgi?id=15716

Mathias Lang <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
                   |                            |m
         Resolution|---                         |INVALID

--- Comment #1 from Mathias Lang <[email protected]> ---
If you have any question, please direct them to the "learn" section of the
forum: https://forum.dlang.org/group/learn as we only use bugzilla for defect.

To answer your question, do exactly what the warning suggest: nest your
statement within braces, so that code like:

```
if (foo)
  if (bar)
    call();
  else
    otherCall();
```

Becomes:

```
if (foo)
{
  if (bar)
    call();
  else
    otherCall();
}
```

Closing as it is not a bug.

--

Reply via email to