aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-09-12 07:21:54 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-14 02:22:03 +0800
commit06c2ddfd5017b310f5de732a0132491d236f8359 (patch)
treec94d4618ba92fa096991916a6be1c3f0b0d67121
parentbc5306863dc13697add91de9a52521a9abf3adb8 (diff)
downloaddexon-solidity-06c2ddfd5017b310f5de732a0132491d236f8359.tar.gz
dexon-solidity-06c2ddfd5017b310f5de732a0132491d236f8359.tar.zst
dexon-solidity-06c2ddfd5017b310f5de732a0132491d236f8359.zip
Add experimental feature 'v0.5.0'
-rw-r--r--Changelog.md1
-rw-r--r--libsolidity/ast/ExperimentalFeatures.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/Changelog.md b/Changelog.md
index d5f27e53..d0d4d8df 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,6 +1,7 @@
### 0.4.17 (unreleased)
Features:
+ * Support ``pragma experimental v0.5.0;`` to turn on upcoming breaking changes.
* Code Generator: Added ``.selector`` member on external function types to retrieve their signature.
* Optimizer: Add new optimization step to remove unused ``JUMPDEST``s.
* Type Checker: Display helpful warning for unused function arguments/return parameters.
diff --git a/libsolidity/ast/ExperimentalFeatures.h b/libsolidity/ast/ExperimentalFeatures.h
index 2c089671..3ecfac7b 100644
--- a/libsolidity/ast/ExperimentalFeatures.h
+++ b/libsolidity/ast/ExperimentalFeatures.h
@@ -31,6 +31,7 @@ enum class ExperimentalFeature
{
SMTChecker,
ABIEncoderV2, // new ABI encoder that makes use of JULIA
+ V050, // v0.5.0 breaking changes
Test,
TestOnlyAnalysis
};
@@ -45,6 +46,7 @@ static const std::map<std::string, ExperimentalFeature> ExperimentalFeatureNames
{
{ "SMTChecker", ExperimentalFeature::SMTChecker },
{ "ABIEncoderV2", ExperimentalFeature::ABIEncoderV2 },
+ { "v0.5.0", ExperimentalFeature::V050 },
{ "__test", ExperimentalFeature::Test },
{ "__testOnlyAnalysis", ExperimentalFeature::TestOnlyAnalysis },
};