aBothe/Mono-D — Issue #32: Editor Template Parser Error bug
Author: Groogy
Created: 2012-01-15 17:14:26+00:00
State: open

Hello again! Found another bug. The parser in the editor tells me that a specific line is invalid while the compiler itself allows it. The code is:

```d
public struct Matrix( uint Dimension, Type ) if( Dimension >= 3 && Dimension <= 4 )
{
public:
// ... code ...
private:
Type elements[ Dimension * Dimension ]; // <- Fails in editor but compiler allows it
}
```

The error I get is: **Parser Error:** ] expected, < Identifier > found!