dlang-community / libdparse

Library for lexing and parsing D source code
https://libdparse.dlang.io
Boost Software License 1.0
114 stars 56 forks source link

Support scope for variable declaration in foreach statement #465

Closed rikkimax closed 1 year ago

rikkimax commented 1 year ago
foreach (scope data; &iterator.foreachBlocks) {
}

Basic type, type constructor, symbol, typeof, __traits, __vector or mixin expected

Removing scope doesn't lead to this message via dscanner.

Adding a type does not stop it.

WebFreak001 commented 1 year ago

this has been fixed a while ago