Commit b7300b4
committed
gen_stub: support use statements in stub files
Stmt\Use_ and Stmt\GroupUse nodes were not handled in handleStatements(),
causing an "Unexpected node" exception when use statements appeared in
stub files. Since NameResolver resolves all names to their fully qualified
form before handleStatements() runs, these nodes can simply be skipped.1 parent af28c15 commit b7300b4
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4387 | 4387 | | |
4388 | 4388 | | |
4389 | 4389 | | |
| 4390 | + | |
| 4391 | + | |
| 4392 | + | |
| 4393 | + | |
| 4394 | + | |
4390 | 4395 | | |
4391 | 4396 | | |
4392 | 4397 | | |
| |||
0 commit comments