Merge remote-tracking branch 'origin' into 0.3.0-dev
This commit is contained in:
commit
6b345f5c01
|
@ -21,9 +21,6 @@ class RedundantParenCheck : BaseAnalyzer
|
||||||
|
|
||||||
override void visit(const IfStatement statement)
|
override void visit(const IfStatement statement)
|
||||||
{
|
{
|
||||||
import std.stdio : stderr;
|
|
||||||
|
|
||||||
stderr.writeln(__PRETTY_FUNCTION__);
|
|
||||||
UnaryExpression unary;
|
UnaryExpression unary;
|
||||||
if (statement.expression is null || statement.expression.items.length != 1)
|
if (statement.expression is null || statement.expression.items.length != 1)
|
||||||
goto end;
|
goto end;
|
||||||
|
@ -42,8 +39,6 @@ class RedundantParenCheck : BaseAnalyzer
|
||||||
|
|
||||||
override void visit(const PrimaryExpression primaryExpression)
|
override void visit(const PrimaryExpression primaryExpression)
|
||||||
{
|
{
|
||||||
import std.stdio : stderr;
|
|
||||||
|
|
||||||
UnaryExpression unary;
|
UnaryExpression unary;
|
||||||
if (primaryExpression.expression is null)
|
if (primaryExpression.expression is null)
|
||||||
goto end;
|
goto end;
|
||||||
|
|
Loading…
Reference in New Issue