Thread overview
[Issue 16460] [REG2.071] ICE for package visibility check in function literal
[Issue 16460] [REG2.071] ICE in local import for a package protection func
Sep 13, 2016
Martin Nowak
September 02, 2016
https://issues.dlang.org/show_bug.cgi?id=16460

jiki@red.email.ne.jp changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
           Severity|normal                      |regression

--
September 12, 2016
https://issues.dlang.org/show_bug.cgi?id=16460

jiki@red.email.ne.jp changed:

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

--- Comment #1 from jiki@red.email.ne.jp ---
This looks like Issue 16348, but is NOT.
2.071.2 beta4 doesn't fix.

--
September 13, 2016
https://issues.dlang.org/show_bug.cgi?id=16460

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |code@dawg.eu
           Assignee|nobody@puremagic.com        |code@dawg.eu
            Summary|[REG2.071] ICE in local     |[REG2.071] ICE for package
                   |import for a package        |visibility check in
                   |protection func             |function literal

--- Comment #2 from Martin Nowak <code@dawg.eu> ---
(In reply to jiki from comment #1)
> This looks like Issue 16348, but is NOT.
> 2.071.2 beta4 doesn't fix.

It's another instance of Issue 16384, just a different place where the scope gets created without scope symbol.

https://github.com/dlang/dmd/pull/6128

--
September 13, 2016
https://issues.dlang.org/show_bug.cgi?id=16460

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/0c9374cec813f8b29483bebd5a659be55958c299 fix Issue 16460 - ICE for package visibility check in function literal

- fixed by skipping symbol-less scopes when establishing scope for
  FuncDeclaration
- symbol-less scopes like Scope.startCTFE and FuncExp scopes don't
  require a symbol table (and thus don't create a scopesym)

https://github.com/dlang/dmd/commit/8679fd9b9b5f401f834047cd0c14ebd338566cfd Merge pull request #6128 from MartinNowak/fix16460

fix Issue 16460 - ICE for package visibility check in function literal

--
September 13, 2016
https://issues.dlang.org/show_bug.cgi?id=16460

github-bugzilla@puremagic.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

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

--- Comment #4 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/0c9374cec813f8b29483bebd5a659be55958c299 fix Issue 16460 - ICE for package visibility check in function literal

https://github.com/dlang/dmd/commit/8679fd9b9b5f401f834047cd0c14ebd338566cfd Merge pull request #6128 from MartinNowak/fix16460

--
November 04, 2016
https://issues.dlang.org/show_bug.cgi?id=16460

--- Comment #5 from github-bugzilla@puremagic.com ---
Commits pushed to newCTFE at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/0c9374cec813f8b29483bebd5a659be55958c299 fix Issue 16460 - ICE for package visibility check in function literal

https://github.com/dlang/dmd/commit/8679fd9b9b5f401f834047cd0c14ebd338566cfd Merge pull request #6128 from MartinNowak/fix16460

--