We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bebd15 commit 5f599beCopy full SHA for 5f599be
1 file changed
dsymbol/src/dsymbol/ufcs.d
@@ -71,7 +71,7 @@ private const(Token)* findUFCSBaseToken( const(Token)[] tokens)
71
int depth = 0;
72
73
// Walk backwards to skip nested parentheses/brackets/braces
74
- for (long i = tokens.length - 1; i >= 0; i--)
+ for (size_t i = tokens.length; i-- > 0;)
75
{
76
auto t = tokens[i].type;
77
@@ -268,7 +268,7 @@ const(Token)* findUFCSExpressionStart(SortedTokens tokens)
268
269
270
271
272
273
274
0 commit comments