This commit is contained in:
Hackerpilot 2015-09-17 23:39:38 -07:00
parent 0d6484c6af
commit eb50bc9e18
2 changed files with 12 additions and 2 deletions

View File

@ -155,7 +155,12 @@ class UnmodifiedFinder:BaseAnalyzer
override void visit(const TraitsExpression)
{
// Issue #266. Ignore everything inside of __traits expressions.
// issue #266: Ignore unmodified variables inside of `__traits` expressions
}
override void visit(const TypeofExpression)
{
// issue #270: Ignore unmodified variables inside of `typeof` expressions
}
private:

View File

@ -318,7 +318,12 @@ class UnusedVariableCheck : BaseAnalyzer
override void visit(const TraitsExpression)
{
// Issue #266. Ignore everything inside of __traits expressions.
// issue #266: Ignore unused variables inside of `__traits` expressions
}
override void visit(const TypeofExpression)
{
// issue #270: Ignore unused variables inside of `typeof` expressions
}
private: