Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
July 12, 2017 [Issue 17638] A pragma inside a function body is seen as a statement | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17638 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |spec -- |
July 12, 2017 [Issue 17638] A pragma inside a function body is seen as a statement | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17638 --- Comment #1 from anonymous4 <dfj1esp02@sneakemail.com> --- This can't be a declaration, because empty declaration can't have attributes: --- static; --- Error: declaration expected following attribute, not ';' -- |
August 28, 2018 [Issue 17638] A pragma inside a function body is seen as a statement | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17638 Nicholas Wilson <iamthewilsonator@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iamthewilsonator@hotmail.co | |m --- Comment #2 from Nicholas Wilson <iamthewilsonator@hotmail.com> --- *** Issue 19149 has been marked as a duplicate of this issue. *** -- |
August 28, 2018 [Issue 17638] A pragma inside a function body is seen as a statement | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17638 --- Comment #3 from Nicholas Wilson <iamthewilsonator@hotmail.com> --- void main(){ pragma(mangle, "aaa") __gshared int a = 1; // Is a declaration, incorrectly marked as a pragma statement. } see issue 19149. -- |
December 17, 2022 [Issue 17638] A pragma inside a function body is seen as a statement | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17638 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
September 07, 2023 [Issue 17638] A pragma inside a function body is seen as a statement | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=17638 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=22682 Resolution|--- |DUPLICATE --- Comment #4 from Basile-z <b2.temp@gmx.com> --- *** This issue has been marked as a duplicate of issue 22682 *** -- |
Copyright © 1999-2021 by the D Language Foundation