feat: add ineffective dynamic import warning#7600
feat: add ineffective dynamic import warning#7600luke358 wants to merge 4 commits intorolldown:mainfrom
Conversation
There was a problem hiding this comment.
This test case is redundant, as there already exists a similar test case in our codebase.
There was a problem hiding this comment.
I think there also exists a similar testcase for this one as well.
|
Could you review your test cases again and remove those that are redundant or already covered by existing tests in our codebase? |
| return; | ||
| } | ||
|
|
||
| for chunk in chunk_graph.chunk_table.iter() { |
There was a problem hiding this comment.
I assume this has a perf impact because we are adding a new loop here.
There was a problem hiding this comment.
I noticed that there are duplicated loops at
These loops look very similar and might be merged. Since the chunks have already been processed at this point, it seems reasonable to collect warnings here.
Thanks for the feedback! |
|
Closed by #8284 |
This PR implements the changes described in #7541