[Issue 22122] [REG 2.097][ICE] Segmentation fault in in dmd.access.hasPackageAccess
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jul 13 17:09:28 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22122
moonlightsentinel at disroot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |moonlightsentinel at disroot.o
| |rg
--- Comment #3 from moonlightsentinel at disroot.org ---
Even shorter:
---
module imports.reg13815;
void trigger()
{
try {
import imports.mod13815;
G g;
} finally {}
}
---
module imports.mod13815;
package struct G {}
---
The segfault only requires access to a package symbol from a try-finally
statement (implicitly generated because V has a dtor).
--
More information about the Digitalmars-d-bugs
mailing list