Skip to content

Swift: Model standard-library APIs and builtins - #23178

Draft
hvitved wants to merge 1 commit into
github:mainfrom
hvitved:hvitved-swift-standard-library-types
Draft

hvitved wants to merge 1 commit into
github:mainfrom
hvitved:hvitved-swift-standard-library-types

Conversation

@hvitved

@hvitved hvitved commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

The Swift builtins model contains only a small selection of standard-library declarations, so type inference misses much of the public API and its compiler intrinsics. This expands the model to the Swift 6.4.2 public standard-library API and the compiler intrinsics referenced by its interface, while retaining the extractor-specific Function and tuple helpers.

The generated API surface targets x86_64 macOS.

Validation

  • swift-frontend -parse -swift-version 6 unified/tools/builtins/types.swift passed.
  • codeql test run unified/ql/test/library-tests/type-inference compiled the query, but execution was blocked because its cached test database uses an incompatible schema.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant