mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Disallow dot in inline assembly identifiers.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
contract C {
|
||||
function f() public pure {
|
||||
assembly {
|
||||
function f(a., x.b) -> t.b, b.. {}
|
||||
}
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError 3927: (74-76): User-defined identifiers in inline assembly cannot contain '.'.
|
||||
// DeclarationError 3927: (78-81): User-defined identifiers in inline assembly cannot contain '.'.
|
||||
// DeclarationError 3927: (86-89): User-defined identifiers in inline assembly cannot contain '.'.
|
||||
// DeclarationError 3927: (91-94): User-defined identifiers in inline assembly cannot contain '.'.
|
||||
Reference in New Issue
Block a user