mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow path syntax for super constructor calls
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function fun() someModifier {
|
||||
}
|
||||
// ----
|
||||
// DeclarationError 7576: (15-27): Undeclared identifier.
|
||||
// DeclarationError 7920: (15-27): Identifier not found or not unique.
|
||||
|
||||
@@ -6,4 +6,4 @@ function fun() C.someModifier {
|
||||
|
||||
}
|
||||
// ----
|
||||
// ParserError 2314: (65-66): Expected '{' but got '.'
|
||||
// SyntaxError 5811: (49-83): Free functions cannot have modifiers.
|
||||
|
||||
@@ -4,4 +4,4 @@ contract C {
|
||||
}
|
||||
// ----
|
||||
// SyntaxError 2668: (83-99): Functions without implementation cannot have modifiers.
|
||||
// DeclarationError 7576: (97-98): Undeclared identifier.
|
||||
// DeclarationError 7920: (97-98): Identifier not found or not unique.
|
||||
|
||||
Reference in New Issue
Block a user