Use quote function for all errors/warnings

This commit is contained in:
Mathias Baumann
2020-01-08 16:12:06 +01:00
parent 70a2902714
commit 593e2515e7
494 changed files with 1201 additions and 1157 deletions
@@ -7,4 +7,4 @@ contract C {
}
}
// ----
// ParserError: (95-98): Expected '(' but got identifier
// ParserError: (95-98): Expected "(" but got identifier
@@ -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.
@@ -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.
@@ -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.