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

[6.1] [AST] Remove assert from ModuleDecl::getFiles #77793

Open
wants to merge 1 commit into
base: release/6.1
Choose a base branch
from

Conversation

hamishknight
Copy link
Contributor

  • Explanation: This can be hit for IsNonUserModuleRequest. On main this is properly fixed by enforcing that a ModuleDecl's files are immutable after construction ([AST] Remove ModuleDecl::addFile #77666).
  • Scope: N/A
  • Issue: rdar://137769081
  • Risk: None, this is just removing an assert
  • Testing: None, this is just removing an assert
  • Reviewer: Ben Barham

This can be hit for `IsNonUserModuleRequest`. On
main this is properly fixed by enforcing that a
ModuleDecl's files are immutable after construction.

rdar://137769081
@hamishknight
Copy link
Contributor Author

@swift-ci please test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant