2019-05-27 14:13:27 +00:00
|
|
|
pragma solidity >=0.0.0;
|
|
|
|
|
|
|
|
// Example to show why deleting the token at the
|
|
|
|
// is bad when error recovery is in effect. Here, ")" is missing
|
|
|
|
// and there is a ";" instead. That causes us to
|
|
|
|
// not be able to synchronize to ';'. Advance again and
|
|
|
|
// '}' is deleted and then we can't synchronize the contract.
|
|
|
|
// There should be an an AST created this contract (with errors).
|
|
|
|
contract Error2 {
|
|
|
|
mapping (address => uint balances; // missing ) before "balances"
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// ParserError 6635: (417-425): Expected ')' but got identifier
|