Thread overview
D support static foreach syntax
2 days ago
Rainer Schuetze
September 06
Even though the code compiles, the ide shows syntax errors in red. Not a big deal but maybe it should be updated to support the new syntax? It shows a big red blotch on the source map as if there was an error along with the red marks on the code.
September 08

On 06.09.2017 23:30, Psychological Cleanup wrote:
> Even though the code compiles, the ide shows syntax errors in red. Not a big deal but maybe it should be updated to support the new syntax? It shows a big red blotch on the source map as if there was an error along with the red marks on the code.

Well, static foreach is just released a couple of days ago...

Updating the parser should not be very difficult (this will remove the squiggly red lines), but tweaking the semantic analysis will be harder.
2 days ago

On 08.09.2017 09:20, Rainer Schuetze wrote:
> 
> 
> On 06.09.2017 23:30, Psychological Cleanup wrote:
>> Even though the code compiles, the ide shows syntax errors in red. Not a big deal but maybe it should be updated to support the new syntax? It shows a big red blotch on the source map as if there was an error along with the red marks on the code.
> 
> Well, static foreach is just released a couple of days ago...
> 
> Updating the parser should not be very difficult (this will remove the squiggly red lines), but tweaking the semantic analysis will be harder.

https://github.com/dlang/visuald/releases/tag/v0.46.0-beta1 has support to parse "static foreach", but no proper analysis yet.