September 09, 2019 [Issue 2139] Compiler rejects delegate of a static struct instance as non-constant | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=2139 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- The compiler now errors in the first case: Error: cannot take address of thread-local variable s at compile time And in the third case: Error: static variable s cannot be read at compile time The second case compiles. -- |
October 03, 2019 [Issue 2139] Compiler rejects delegate of a static struct instance as non-constant | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=2139 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME -- |
Copyright © 1999-2021 by the D Language Foundation