diff options
author | chriseth <chris@ethereum.org> | 2017-08-12 00:54:56 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-08-23 23:37:35 +0800 |
commit | c93f0434cd2dc8542d9adf9dc7d9256fd54d65de (patch) | |
tree | df3bcd767affb7a3ae10a9a5fc190fed05223d36 /libsolidity/ast/ExperimentalFeatures.h | |
parent | 75f09f2a84e556ca48b7bae00b459c77a0fa09fe (diff) | |
download | dexon-solidity-c93f0434cd2dc8542d9adf9dc7d9256fd54d65de.tar dexon-solidity-c93f0434cd2dc8542d9adf9dc7d9256fd54d65de.tar.gz dexon-solidity-c93f0434cd2dc8542d9adf9dc7d9256fd54d65de.tar.bz2 dexon-solidity-c93f0434cd2dc8542d9adf9dc7d9256fd54d65de.tar.lz dexon-solidity-c93f0434cd2dc8542d9adf9dc7d9256fd54d65de.tar.xz dexon-solidity-c93f0434cd2dc8542d9adf9dc7d9256fd54d65de.tar.zst dexon-solidity-c93f0434cd2dc8542d9adf9dc7d9256fd54d65de.zip |
Use experimental feature pragma for SMT checker.
Diffstat (limited to 'libsolidity/ast/ExperimentalFeatures.h')
-rw-r--r-- | libsolidity/ast/ExperimentalFeatures.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/ast/ExperimentalFeatures.h b/libsolidity/ast/ExperimentalFeatures.h index 0c03ea4a..2c089671 100644 --- a/libsolidity/ast/ExperimentalFeatures.h +++ b/libsolidity/ast/ExperimentalFeatures.h @@ -29,6 +29,7 @@ namespace solidity enum class ExperimentalFeature { + SMTChecker, ABIEncoderV2, // new ABI encoder that makes use of JULIA Test, TestOnlyAnalysis @@ -36,11 +37,13 @@ enum class ExperimentalFeature static const std::map<ExperimentalFeature, bool> ExperimentalFeatureOnlyAnalysis = { + { ExperimentalFeature::SMTChecker, true }, { ExperimentalFeature::TestOnlyAnalysis, true }, }; static const std::map<std::string, ExperimentalFeature> ExperimentalFeatureNames = { + { "SMTChecker", ExperimentalFeature::SMTChecker }, { "ABIEncoderV2", ExperimentalFeature::ABIEncoderV2 }, { "__test", ExperimentalFeature::Test }, { "__testOnlyAnalysis", ExperimentalFeature::TestOnlyAnalysis }, |