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

Ketmar Dark <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Ketmar Dark <[email protected]> ---
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.

--

Reply via email to