Skip to content

make the existing general import predicates value specific and introduce type specific equivalents#35

Merged
felixarntz merged 1 commit into
mainfrom
add-type-specific-general-import-predicates
Jun 22, 2026
Merged

make the existing general import predicates value specific and introduce type specific equivalents#35
felixarntz merged 1 commit into
mainfrom
add-type-specific-general-import-predicates

Conversation

@felixarntz

Copy link
Copy Markdown
Collaborator

Pull Request Description

  • The recently added importFromParents, importFromCurrentDir, and importFromExternals predicates so far handled both value imports and type imports.
  • This is not ideal because type imports may have different implications than value imports.
  • It's also inconsistent with how we already had import and importTypes predicates, with the former only covering value imports.
  • This PR modifies those 3 new predicates to only handle value imports, and introduces equivalent importTypesFromParents, importTypesFromCurrentDir, and importTypesFromExternals predicates.

@felixarntz
felixarntz merged commit 631af05 into main Jun 22, 2026
11 checks passed
@felixarntz
felixarntz deleted the add-type-specific-general-import-predicates branch June 22, 2026 17:07
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.

1 participant