diff options
| author | Damien George | 2020-04-06 12:19:03 +1000 |
|---|---|---|
| committer | Damien George | 2020-04-09 16:02:39 +1000 |
| commit | 4914731e5831b289f7933e53cf34bdc79c7b7403 (patch) | |
| tree | 6c4177f4771547e4e94eaa95b9bfca3922378ace /tests/micropython/const_error.py.exp | |
| parent | a5f2ae10fe2daf0acfb4b68090938206857c0582 (diff) | |
py/parse: Remove unnecessary check in const folding for ** operator.
In this part of the code there is no way to get the ** operator, so no need
to check for it.
This commit also adds tests for this, and other related, invalid const
operations.
Diffstat (limited to 'tests/micropython/const_error.py.exp')
| -rw-r--r-- | tests/micropython/const_error.py.exp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/micropython/const_error.py.exp b/tests/micropython/const_error.py.exp index 5275689b4..3edc3efe9 100644 --- a/tests/micropython/const_error.py.exp +++ b/tests/micropython/const_error.py.exp @@ -1,2 +1,9 @@ SyntaxError SyntaxError +SyntaxError +SyntaxError +SyntaxError +SyntaxError +SyntaxError +SyntaxError +SyntaxError |
