DDT 0.5.0 ("Creamfields") released

Jarl André" <jarl.andre at gmail.com> Jarl André" <jarl.andre at gmail.com>
Tue Jun 26 10:29:44 PDT 2012


On Tuesday, 26 June 2012 at 17:28:43 UTC, Jarl André wrote:
> I have a "problem" with DDT. It seems that adding an "in 
> contract" to an interface method is not recognized by DDT. It 
> gives "Syntax error on token "}", ; expected after this token". 
> Is this related to an existing bug?
>
> interface SomeInterface {
>     void setup(string someNiceParameter) in { 
> enforce(someNiceParameter); }
> }

The code compiles of course, but I don't like reds in my IDE ;)


More information about the Digitalmars-d-ide mailing list