| Thread overview | |||||
|---|---|---|---|---|---|
|
June 15, 2016 [Issue 16175] allow statements and declaration in a compiles block | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16175 --- Comment #1 from Ketmar Dark <ketmar@ketmar.no-ip.org> --- actually, most of the time you can do that with this: __traits(compiles,{int* cMutable = &c;}) just use lambda syntax -- we have many of 'em in D. ;-) -- | ||||
June 15, 2016 [Issue 16175] allow statements and declaration in a compiles block | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16175 Ketmar Dark <ketmar@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ketmar@ketmar.no-ip.org -- | ||||
November 09, 2022 [Issue 16175] allow statements and declaration in a compiles block | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16175 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WONTFIX --- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> --- Yes, it works, you just need to use a block statement. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply