mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests
This commit is contained in:
parent
fc8947d3e8
commit
0bd6fb027b
@ -4,3 +4,9 @@
|
|||||||
_...(a...)
|
_...(a...)
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 3384: (6-27): "_..." is not a valid identifier (ends with a dot).
|
||||||
|
// SyntaxError 7771: (6-27): "_..." is not a valid identifier (contains consecutive dots).
|
||||||
|
// SyntaxError 3384: (20-23): "$.." is not a valid identifier (ends with a dot).
|
||||||
|
// SyntaxError 7771: (20-23): "$.." is not a valid identifier (contains consecutive dots).
|
||||||
|
// SyntaxError 3384: (36-40): "a..." is not a valid identifier (ends with a dot).
|
||||||
|
// SyntaxError 7771: (36-40): "a..." is not a valid identifier (contains consecutive dots).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
function x..y() {}
|
function x..y() {}
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 7771: (6-24): "x..y" is not a valid identifier (contains consecutive dots).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
function x(a..b) {}
|
function x(a..b) {}
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 7771: (17-21): "a..b" is not a valid identifier (contains consecutive dots).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
function x() -> a..b {}
|
function x() -> a..b {}
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 7771: (22-26): "a..b" is not a valid identifier (contains consecutive dots).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
let a..b := 1
|
let a..b := 1
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 7771: (10-14): "a..b" is not a valid identifier (contains consecutive dots).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
function x...y() {}
|
function x...y() {}
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 7771: (6-25): "x...y" is not a valid identifier (contains consecutive dots).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
function x(a...b) {}
|
function x(a...b) {}
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 7771: (17-22): "a...b" is not a valid identifier (contains consecutive dots).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
function x() -> a...b {}
|
function x() -> a...b {}
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 7771: (22-27): "a...b" is not a valid identifier (contains consecutive dots).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
let a...b := 1
|
let a...b := 1
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 7771: (10-15): "a...b" is not a valid identifier (contains consecutive dots).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
function x.() {}
|
function x.() {}
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 3384: (6-22): "x." is not a valid identifier (ends with a dot).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
function x(a.) {}
|
function x(a.) {}
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 3384: (17-19): "a." is not a valid identifier (ends with a dot).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
function x() -> a. {}
|
function x() -> a. {}
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 3384: (22-24): "a." is not a valid identifier (ends with a dot).
|
||||||
|
@ -2,3 +2,4 @@
|
|||||||
let a. := 1
|
let a. := 1
|
||||||
}
|
}
|
||||||
// ----
|
// ----
|
||||||
|
// SyntaxError 3384: (10-12): "a." is not a valid identifier (ends with a dot).
|
||||||
|
Loading…
Reference in New Issue
Block a user