2022-09-07 20:39:00 +03:00
|
|
|
---
|
|
|
|
namespace: ParseStatement
|
|
|
|
expectation: Fail
|
|
|
|
outputs:
|
2023-04-03 20:33:04 +03:00
|
|
|
- "Error [EPAR0370005]: expected ; -- found '['\n --> test:1:10\n |\n 1 | increment[foo, bar, baz];\n | ^"
|
2023-06-13 22:09:33 +03:00
|
|
|
- "Error [EPAR0370005]: expected ; -- found '<eof>'\n --> test:1:15\n |\n 1 | increment(floo)\n | ^Warning [WPAR0370001]: The keyword `increment` is deprecated.\n --> test:1:1\n |\n 1 | increment(floo)\n | ^^^^^^^^^^^^^^^\n |\n = Use `Mapping::{get, get_or_use, set}` for manipulating on-chain mappings."
|
2023-04-03 20:33:04 +03:00
|
|
|
- "Error [EPAR0370005]: expected ; -- found 'foo'\n --> test:1:11\n |\n 1 | increment foo[bar] by baz;\n | ^^^"
|