Repository navigation
Commit 728bb3b
committed
fix(python): a star import from __future__ is a parse barrier
The grammar rejects from __future__ import * as Python does, so the file carries an error node and its whole namespace is a PARSE unknown: a stronger barrier than the UNSUPPORTED statement the previous commit guarded for. That guard could never run and is dropped; the control asserts the parse barrier the parser actually yields.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent 240b24a commit 728bb3b
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
603 | | - | |
604 | | - | |
605 | 603 | | |
606 | 604 | | |
607 | 605 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12314 | 12314 | | |
12315 | 12315 | | |
12316 | 12316 | | |
| 12317 | + | |
12317 | 12318 | | |
12318 | | - | |
| 12319 | + | |
12319 | 12320 | | |
12320 | 12321 | | |
12321 | 12322 | | |
| |||
0 commit comments