D support static foreach syntax

Rainer Schuetze via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Sat Sep 16 09:20:58 PDT 2017



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.


More information about the Digitalmars-d-ide mailing list