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
|
||||
{
|
||||
|
||||
enum class ExperimentalFeature {
|
||||
Test
|
||||
enum class ExperimentalFeature
|
||||
{
|
||||
Test,
|
||||
TestOnlyAnalysis
|
||||
};
|
||||
|
||||
static const std::map<ExperimentalFeature, bool> ExperimentalFeatureOnlyAnalysis = {
|
||||
{ ExperimentalFeature::TestOnlyAnalysis, true },
|
||||
};
|
||||
|
||||
static const std::map<std::string, ExperimentalFeature> ExperimentalFeatureNames = {
|
||||
{ "__test", ExperimentalFeature::Test },
|
||||
{ "__testOnlyAnalysis", ExperimentalFeature::TestOnlyAnalysis },
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user