Visual D 0.3.26 released

Rainer Schuetze r.sagitario at gmx.de
Fri Aug 26 00:20:30 PDT 2011



On 25.08.2011 15:34, Alex Rønne Petersen wrote:
> On 25-08-2011 09:28, Rainer Schuetze wrote:
>> Hi,
>>
>> I'd like to announce the release of a new version of Visual D:
>>
>> 2011-08-25 Version 0.3.26
>>[...]
>
> One question:
>
>> * fixed bad indentation of first contract
>
> What exactly does this fix? Can you give an example?

reindenting a function with contracts used to produce something like this:

int foo(int x)
	in
	{
		assert(x > 0);
	}
body
{
	return -x;
}

Now, the in contract is aligned with the function declaration and the body:


int foo(int x)
in
{
	assert(x > 0);
}
body
{
	return -x;
}


More information about the Digitalmars-d-ide mailing list