Thread overview | |||||
---|---|---|---|---|---|
|
July 07, 2009 [Issue 3148] New: syntax error using invariant | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=3148 Summary: syntax error using invariant Product: D Version: unspecified Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: ddparnell@bigpond.com In std/outbuffer.d the class OutBuffer is missing the "()" after the "invariant" keyword. Patch ... --- c:/temp/d/std/outbuffer.d Sun Jul 5 01:19:02 2009 +++ c:/temp/d/std/outbuffer.dx Tue Jul 7 18:07:09 2009 @@ -39,7 +39,7 @@ ubyte data[]; uint offset; - invariant + invariant() { //printf("this = %p, offset = %x, data.length = %u\n", this, offset, data.length); assert(offset <= data.length); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
July 07, 2009 [Issue 3148] syntax error using invariant | ||||
---|---|---|---|---|
| ||||
Posted in reply to ddparnell@bigpond.com | http://d.puremagic.com/issues/show_bug.cgi?id=3148 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |andrei@metalanguage.com AssignedTo|nobody@puremagic.com |andrei@metalanguage.com -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 28, 2009 [Issue 3148] syntax error using invariant | ||||
---|---|---|---|---|
| ||||
Posted in reply to ddparnell@bigpond.com | http://d.puremagic.com/issues/show_bug.cgi?id=3148 Andrei Alexandrescu <andrei@metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from Andrei Alexandrescu <andrei@metalanguage.com> 2009-08-27 23:48:00 PDT --- Thanks! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation