[Issue 18757] static invariant{} should either work or not be valid syntax

2022-12-17 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18757 Iain Buclaw changed: What|Removed |Added Priority|P1 |P3 --

[Issue 18757] static invariant{} should either work or not be valid syntax

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18757 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com --- Comment #8 from

[Issue 18757] static invariant{} should either work or not be valid syntax

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18757 Walter Bright changed: What|Removed |Added CC||bugzi...@digitalmars.com Hardware|

[Issue 18757] static invariant{} should either work or not be valid syntax

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18757 --- Comment #6 from FeepingCreature --- In my opinion, static this sets the precedent that static + class-level feature = module-level feature. --

[Issue 18757] static invariant{} should either work or not be valid syntax

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18757 Jonathan M Davis changed: What|Removed |Added CC||issues.dl...@jmdavisprog.co

[Issue 18757] static invariant{} should either work or not be valid syntax

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18757 --- Comment #4 from RazvanN --- (In reply to uplink.coder from comment #3) > Well invariants cannot apply to static methods since they are only concerned > about the object's state. > which by definition cannot be directly touched in static functions

[Issue 18757] static invariant{} should either work or not be valid syntax

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18757 uplink.co...@googlemail.com changed: What|Removed |Added CC||uplink.co...@googlemail.com ---

[Issue 18757] static invariant{} should either work or not be valid syntax

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18757 --- Comment #2 from FeepingCreature --- In case 1, I maintain that this is a bug - the compiler should not smile-and-nod while silently ignoring syntax that hints at a semantic that does not apply. --

[Issue 18757] static invariant{} should either work or not be valid syntax

2018-04-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18757 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #1 from Razv