aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-28 21:40:28 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-29 02:43:35 +0800
commit79e84a8fa43b55838100f9c24dec04b1e721c65c (patch)
tree45cdc8bd9693da3a3654b7fdf9bc5a658b1b929e /libsolidity/codegen/ExpressionCompiler.cpp
parentaa94000a91be455af7b9436db172ffa86cc57494 (diff)
downloaddexon-solidity-79e84a8fa43b55838100f9c24dec04b1e721c65c.tar.gz
dexon-solidity-79e84a8fa43b55838100f9c24dec04b1e721c65c.tar.zst
dexon-solidity-79e84a8fa43b55838100f9c24dec04b1e721c65c.zip
Swap declaration/statemutability in FunctionType constructor
Diffstat (limited to 'libsolidity/codegen/ExpressionCompiler.cpp')
-rw-r--r--libsolidity/codegen/ExpressionCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp
index 45c2170c..5c9b743a 100644
--- a/libsolidity/codegen/ExpressionCompiler.cpp
+++ b/libsolidity/codegen/ExpressionCompiler.cpp
@@ -644,8 +644,8 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
strings(),
FunctionType::Kind::BareCall,
false,
- nullptr,
StateMutability::NonPayable,
+ nullptr,
true,
true
),