mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use quote function for all errors/warnings
This commit is contained in:
+1
-1
@@ -7,4 +7,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (95-98): Expected '(' but got identifier
|
||||
// ParserError: (95-98): Expected "(" but got identifier
|
||||
|
||||
+1
-1
@@ -7,4 +7,4 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (112-120): The suffixes _offset and _slot can only be used on non-constant storage variables.
|
||||
// TypeError: (112-120): The suffixes "_offset" and "_slot" can only be used on non-constant storage variables.
|
||||
|
||||
@@ -6,4 +6,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (72-73): Expected identifier but got '('
|
||||
// ParserError: (72-73): Expected identifier but got "("
|
||||
|
||||
@@ -6,4 +6,4 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (75-83): Top-level expressions are not supposed to return values (this expression returns 1 value). Use ``pop()`` or assign them.
|
||||
// TypeError: (75-83): Top-level expressions are not supposed to return values (this expression returns 1 value). Use "pop()" or assign them.
|
||||
|
||||
@@ -7,4 +7,4 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (89-90): Only local variables are supported. To access storage variables, use the _slot and _offset suffixes.
|
||||
// TypeError: (89-90): Only local variables are supported. To access storage variables, use the "_slot" and "_offset" suffixes.
|
||||
|
||||
+1
-1
@@ -10,4 +10,4 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (80-81): Only local variables are supported. To access storage variables, use the _slot and _offset suffixes.
|
||||
// TypeError: (80-81): Only local variables are supported. To access storage variables, use the "_slot" and "_offset" suffixes.
|
||||
|
||||
@@ -6,4 +6,4 @@ contract test {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// ParserError: (85-86): Expected '(' but got '}'
|
||||
// ParserError: (85-86): Expected "(" but got "}"
|
||||
|
||||
@@ -5,4 +5,4 @@ contract c {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (75-76): Only local variables are supported. To access storage variables, use the _slot and _offset suffixes.
|
||||
// TypeError: (75-76): Only local variables are supported. To access storage variables, use the "_slot" and "_offset" suffixes.
|
||||
|
||||
+4
-4
@@ -9,7 +9,7 @@ contract C {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError: (79-87): In variable declarations _slot and _offset can not be used as a suffix.
|
||||
// DeclarationError: (109-115): In variable declarations _slot and _offset can not be used as a suffix.
|
||||
// DeclarationError: (137-144): In variable declarations _slot and _offset can not be used as a suffix.
|
||||
// DeclarationError: (166-171): In variable declarations _slot and _offset can not be used as a suffix.
|
||||
// DeclarationError: (79-87): In variable declarations "_slot" and "_offset" can not be used as a suffix.
|
||||
// DeclarationError: (109-115): In variable declarations "_slot" and "_offset" can not be used as a suffix.
|
||||
// DeclarationError: (137-144): In variable declarations "_slot" and "_offset" can not be used as a suffix.
|
||||
// DeclarationError: (166-171): In variable declarations "_slot" and "_offset" can not be used as a suffix.
|
||||
|
||||
Reference in New Issue
Block a user