|
|
@ -21,7 +21,7 @@ from slither.core.expressions.new_array import NewArray |
|
|
|
from slither.core.expressions.new_contract import NewContract |
|
|
|
from slither.core.expressions.new_contract import NewContract |
|
|
|
from slither.core.expressions.tuple_expression import TupleExpression |
|
|
|
from slither.core.expressions.tuple_expression import TupleExpression |
|
|
|
from slither.core.expressions.type_conversion import TypeConversion |
|
|
|
from slither.core.expressions.type_conversion import TypeConversion |
|
|
|
|
|
|
|
from slither.core.expressions.new_elementary_type import NewElementaryType |
|
|
|
|
|
|
|
|
|
|
|
# pylint: disable=protected-access |
|
|
|
# pylint: disable=protected-access |
|
|
|
def f_expressions( |
|
|
|
def f_expressions( |
|
|
@ -100,7 +100,14 @@ class SplitTernaryExpression: |
|
|
|
|
|
|
|
|
|
|
|
if isinstance( |
|
|
|
if isinstance( |
|
|
|
expression, |
|
|
|
expression, |
|
|
|
(Literal, Identifier, NewArray, NewContract, ElementaryTypeNameExpression), |
|
|
|
( |
|
|
|
|
|
|
|
Literal, |
|
|
|
|
|
|
|
Identifier, |
|
|
|
|
|
|
|
NewArray, |
|
|
|
|
|
|
|
NewContract, |
|
|
|
|
|
|
|
ElementaryTypeNameExpression, |
|
|
|
|
|
|
|
NewElementaryType, |
|
|
|
|
|
|
|
), |
|
|
|
): |
|
|
|
): |
|
|
|
return |
|
|
|
return |
|
|
|
|
|
|
|
|
|
|
|