mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add analysis-only experimental features
This commit is contained in:
parent
644c91fc2d
commit
53a497b4d8
@ -27,12 +27,19 @@ namespace dev
|
|||||||
namespace solidity
|
namespace solidity
|
||||||
{
|
{
|
||||||
|
|
||||||
enum class ExperimentalFeature {
|
enum class ExperimentalFeature
|
||||||
Test
|
{
|
||||||
|
Test,
|
||||||
|
TestOnlyAnalysis
|
||||||
|
};
|
||||||
|
|
||||||
|
static const std::map<ExperimentalFeature, bool> ExperimentalFeatureOnlyAnalysis = {
|
||||||
|
{ ExperimentalFeature::TestOnlyAnalysis, true },
|
||||||
};
|
};
|
||||||
|
|
||||||
static const std::map<std::string, ExperimentalFeature> ExperimentalFeatureNames = {
|
static const std::map<std::string, ExperimentalFeature> ExperimentalFeatureNames = {
|
||||||
{ "__test", ExperimentalFeature::Test },
|
{ "__test", ExperimentalFeature::Test },
|
||||||
|
{ "__testOnlyAnalysis", ExperimentalFeature::TestOnlyAnalysis },
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user