File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,12 @@ class UnmodifiedFinder:BaseAnalyzer
155
155
156
156
override void visit (const TraitsExpression)
157
157
{
158
- // Issue #266. Ignore everything inside of __traits expressions.
158
+ // issue #266: Ignore unmodified variables inside of `__traits` expressions
159
+ }
160
+
161
+ override void visit (const TypeofExpression)
162
+ {
163
+ // issue #270: Ignore unmodified variables inside of `typeof` expressions
159
164
}
160
165
161
166
private :
Original file line number Diff line number Diff line change @@ -318,7 +318,12 @@ class UnusedVariableCheck : BaseAnalyzer
318
318
319
319
override void visit (const TraitsExpression)
320
320
{
321
- // Issue #266. Ignore everything inside of __traits expressions.
321
+ // issue #266: Ignore unused variables inside of `__traits` expressions
322
+ }
323
+
324
+ override void visit (const TypeofExpression)
325
+ {
326
+ // issue #270: Ignore unused variables inside of `typeof` expressions
322
327
}
323
328
324
329
private :
You can’t perform that action at this time.
0 commit comments