mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Move around experimental tests
This commit is contained in:
@@ -67,7 +67,7 @@ void SyntaxTest::parseAndAnalyze()
|
||||
{
|
||||
setupCompiler();
|
||||
|
||||
if (compiler().parse() && compiler().analyze())
|
||||
if (compiler().parse() && compiler().analyze() && !compiler().isExperimentalAnalysis())
|
||||
try
|
||||
{
|
||||
if (!compiler().compile())
|
||||
|
||||
+2
@@ -6,3 +6,5 @@ import std.stub;
|
||||
// ----
|
||||
// Warning 2264: (std.stub:63-92): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Warning 2264: (0-29): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Info 4164: (std.stub:94-117): Inferred type: () -> ()
|
||||
// Info 4164: (std.stub:111-113): Inferred type: ()
|
||||
+2
@@ -6,3 +6,5 @@ import std.stub as stub;
|
||||
// ----
|
||||
// Warning 2264: (std.stub:63-92): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Warning 2264: (0-29): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Info 4164: (std.stub:94-117): Inferred type: () -> ()
|
||||
// Info 4164: (std.stub:111-113): Inferred type: ()
|
||||
+3
@@ -6,3 +6,6 @@ import { identity } from std.stub;
|
||||
// ----
|
||||
// Warning 2264: (std.stub:63-92): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Warning 2264: (0-29): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Info 4164: (std.stub:94-117): Inferred type: () -> ()
|
||||
// Info 4164: (std.stub:111-113): Inferred type: ()
|
||||
// Info 4164: (40-48): Inferred type: () -> ()
|
||||
+2
@@ -6,3 +6,5 @@ import * as stub from std.stub;
|
||||
// ----
|
||||
// Warning 2264: (std.stub:63-92): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Warning 2264: (0-29): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Info 4164: (std.stub:94-117): Inferred type: () -> ()
|
||||
// Info 4164: (std.stub:111-113): Inferred type: ()
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
pragma experimental solidity;
|
||||
|
||||
import { identity as id } from std.stub;
|
||||
|
||||
contract C
|
||||
{
|
||||
fallback() external
|
||||
{
|
||||
id();
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// EVMVersion: >=constantinople
|
||||
// ----
|
||||
// Warning 2264: (std.stub:63-92): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Warning 2264: (0-29): Experimental features are turned on. Do not use experimental features on live deployments.
|
||||
// Info 4164: (std.stub:94-117): Inferred type: () -> ()
|
||||
// Info 4164: (std.stub:111-113): Inferred type: ()
|
||||
// Info 4164: (40-48): Inferred type: () -> ()
|
||||
// Info 4164: (90-135): Inferred type: () -> ()
|
||||
// Info 4164: (98-100): Inferred type: ()
|
||||
// Info 4164: (124-128): Inferred type: ()
|
||||
// Info 4164: (124-126): Inferred type: () -> ()
|
||||
Reference in New Issue
Block a user