Skip to content

Conversation

@Sporarum
Copy link
Contributor

@Sporarum Sporarum commented Oct 31, 2025

What I did

Fix #4603

How I did it

Add new dict which keeps track on built-ins
It might be possible to do it with self.graph, but I don't know enough about it yet

How to verify it

Commit message

Description for the changelog

Fix error message when built-in modules are imported more than once

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@Sporarum
Copy link
Contributor Author

Fixes #4603

@Sporarum Sporarum changed the title fix[parser]: Make duplicate built-in import exception consistent fix[parser]: make duplicate built-in import exception consistent Nov 3, 2025
@codecov
Copy link

codecov bot commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.23%. Comparing base (699b1ec) to head (46be18d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4764   +/-   ##
=======================================
  Coverage   93.23%   93.23%           
=======================================
  Files         137      137           
  Lines       19452    19452           
  Branches     3354     3354           
=======================================
  Hits        18136    18136           
  Misses        893      893           
  Partials      423      423           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Sporarum Sporarum changed the title fix[parser]: make duplicate built-in import exception consistent fix[parser]: make duplicate built-in import exception consistent (#4603) Nov 4, 2025
@charles-cooper charles-cooper changed the title fix[parser]: make duplicate built-in import exception consistent (#4603) fix[lang]: fix exception for duplicate builtin imports Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bad compiler exception when raising duplicate imports of stdlib

1 participant