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

Kenji Hara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
           Hardware|x86_64                      |All
                 OS|Linux                       |All
           Severity|enhancement                 |minor

--- Comment #1 from Kenji Hara <[email protected]> ---
That's an incomplete access check of enclosing function frame in front end.

In the first case, the error message is generated by glue-layer, so it shows no
message with -o- switch.

In https://github.com/D-Programming-Language/dmd/pull/5271, the frame access
check issue will be fixed properly, then error message will also be consistent
and generated by front end.

I added a diagnostic test case for this issue into the PR 5271.

--

Reply via email to