Commit acb8dca
[CG-10829] fix: import wildcard doesn't preserve import resolution (#502)
Importing from a file that contains a wildcard can break further resolution. This could occur depending on to_resolve ordering, if the outer file is processed first _wildcards will not be filled in time.
---------
Co-authored-by: tomcodegen <kucar.tomislav@gmail.com>
Co-authored-by: tomcodgen <191515280+tomcodgen@users.noreply.github.com>1 parent cb3b725 commit acb8dca
File tree
2 files changed
+29
-0
lines changed- src/codegen/sdk/core
- tests/unit/codegen/sdk/python/import_resolution
2 files changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| 610 | + | |
| 611 | + | |
610 | 612 | | |
611 | 613 | | |
612 | 614 | | |
| |||
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
0 commit comments