prefer_initializing_formals (#8797)
This commit is contained in:
committed by
GitHub
parent
f8238185cc
commit
a9ba0e2f88
@@ -66,9 +66,8 @@ enum Operation { Addition, Subtraction, Multiplication, Division }
|
||||
|
||||
/// A token that represents an arithmetic operation symbol.
|
||||
class OperationToken extends ExpressionToken {
|
||||
OperationToken(Operation operation)
|
||||
: operation = operation,
|
||||
super(opString(operation));
|
||||
OperationToken(this.operation)
|
||||
: super(opString(operation));
|
||||
|
||||
Operation operation;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user