Thread overview | |||||
---|---|---|---|---|---|
|
September 06, 2017 D support static foreach syntax | ||||
---|---|---|---|---|
| ||||
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, 2017 Re: D support static foreach syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to Psychological Cleanup |
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.
|
September 16, 2017 Re: D support static foreach syntax | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | 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. |
Copyright © 1999-2021 by the D Language Foundation