www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - D support static foreach syntax

reply Psychological Cleanup <Help Saving.World> writes:
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.
Sep 06
parent Rainer Schuetze <r.sagitario gmx.de> writes:
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.
Sep 08