mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Style and some assertion messages.
This commit is contained in:
@@ -324,7 +324,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
|
||||
FunctionTypePointer functionType;
|
||||
if (_functionCall.isStructConstructorCall())
|
||||
{
|
||||
TypeType const& type = dynamic_cast<TypeType const&>(*_functionCall.getExpression().getType());
|
||||
auto const& type = dynamic_cast<TypeType const&>(*_functionCall.getExpression().getType());
|
||||
auto const& structType = dynamic_cast<StructType const&>(*type.getActualType());
|
||||
functionType = structType.constructorType();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user