Thread overview | |||||
---|---|---|---|---|---|
|
August 11, 2017 [Issue 17738] access to local alias from outside compiles but execution hangs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17738 --- Comment #1 from Dominikus Dittes Scherkl <dominikus@scherkl.de> --- Sorry, that was gdc, and it was the compilation that only stopped after stack overflow was reached (which took about 10 minutes). dmd (2.075.0) directly fails with a segmentation fault (exit code 139). (and of course it fails only, if foo is actually instantiated somewhere) So, is it not allowed to access (type)definitions from outside the function where they are declared, or is this a real bug? If it should not be allowed (which I would call a pitty), than a proper error message should be provided. Else I would expect foo and foo2 to compile to exactly the same assembly code. -- |
August 15, 2017 [Issue 17738] access to local alias from outside compiles but execution hangs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17738 ZombineDev <petar.p.kirov@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petar.p.kirov@gmail.com -- |
December 17, 2022 [Issue 17738] access to local alias from outside compiles but execution hangs | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17738 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
Copyright © 1999-2021 by the D Language Foundation