mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Experimental standard library
Change import syntax and cover with tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
pragma experimental solidity;
|
||||
|
||||
import std.stub;
|
||||
// ====
|
||||
// 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.
|
||||
@@ -0,0 +1,8 @@
|
||||
pragma experimental solidity;
|
||||
|
||||
import std.stub as stub;
|
||||
// ====
|
||||
// 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.
|
||||
@@ -0,0 +1,8 @@
|
||||
pragma experimental solidity;
|
||||
|
||||
import { identity } from std.stub;
|
||||
// ====
|
||||
// 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.
|
||||
@@ -0,0 +1,8 @@
|
||||
pragma experimental solidity;
|
||||
|
||||
import * as stub from std.stub;
|
||||
// ====
|
||||
// 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.
|
||||
@@ -0,0 +1,3 @@
|
||||
import std.stub;
|
||||
// ----
|
||||
// ParserError 9478: (7-10): Expected string literal (path), "*" or alias list.
|
||||
@@ -0,0 +1,3 @@
|
||||
import { identity } from std.stub;
|
||||
// ----
|
||||
// ParserError 6845: (25-28): Expected import path.
|
||||
Reference in New Issue
Block a user