April 17, 2021 [Issue 21839] Strange output at Compile time | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21839 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |dlang-bugzilla@thecybershad | |ow.net Resolution|--- |INVALID --- Comment #1 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- What output are you expecting/ (In reply to Menshikov Konstantin from comment #0) > if(member_name != `this`){ Did you mean to use "static if" instead of "if"? -- | ||||
April 17, 2021 [Issue 21839] Strange output at Compile time | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21839 Boris Carvajal <boris2.9@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |boris2.9@gmail.com --- Comment #2 from Boris Carvajal <boris2.9@gmail.com> --- Nested structs have a hidden 'this' pointer to the enclosing context. It seems isn't that hidden after all. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply