Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macro] don't add modules as dependencies when using Compiler.include #11701

Merged
merged 4 commits into from
Jun 22, 2024

Conversation

kLabz
Copy link
Contributor

@kLabz kLabz commented Jun 21, 2024

  • TODO: Trying to properly isolate the issue to add a server test

@@ -406,6 +406,7 @@ and module_dep_origin =
| MDepFromTyping
| MDepFromImport
| MDepFromMacro
| MDepIgnore
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, an "ignore" isn't really an origin. The design would be better if we had let ignore_dep_origin = function | MDepWhatever -> ... and then use a sensible origin everywhere.

@Simn Simn merged commit 02c30cb into development Jun 22, 2024
99 checks passed
@kLabz kLabz deleted the macro_include_dont_add_as_deps branch January 21, 2025 07:28
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.

2 participants