Skip to content

Conversation

tshortli
Copy link
Contributor

When building a module from its interface, do not diagnose whether or not a feature is available in production compilers. This is important since older compilers may be expected to build .swiftinterfaces that were produced by newer compilers where the feature has been enabled by default.

Resolves rdar://125500318

… a module.

When building a module from its interface, do not diagnose whether or not a
feature is available in production compilers. This is important since older
compilers may be expected to build .swiftinterfaces that were produced by newer
compilers where the feature has been enabled by default.

Resolves rdar://125500318
@tshortli tshortli requested review from xymus, nkcsgexi, elsh and artemcm March 27, 2024 18:46
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge March 27, 2024 21:23
@tshortli tshortli merged commit db35558 into swiftlang:main Mar 27, 2024
@tshortli tshortli deleted the allow-non-production-features-in-module-interface branch March 28, 2024 06:20
tshortli added a commit to tshortli/swift that referenced this pull request Mar 28, 2024
…e interface.

The fix for swiftlang#72632 was not sufficient
because when modules are built from textual interface that happens in a
sub-invocation which does not have typecheck-from-interface or
compile-from-interface requested action. Instead of checking a requested
action, set a language option to control whether non-production experimental
features are allowed.

Resolves rdar://125561443
tshortli added a commit to tshortli/swift that referenced this pull request Mar 28, 2024
…le interface.

The fix for swiftlang#72632 was not sufficient
because when modules are built from textual interface that happens in a
sub-invocation which does not have typecheck-from-interface or
compile-from-interface requested action. Instead of checking a requested
action, set a language option to control whether non-production experimental
features are allowed.

Resolves rdar://125561443
tshortli added a commit to tshortli/swift that referenced this pull request Mar 28, 2024
…le interface.

The fix for swiftlang#72632 was not sufficient
because when modules are built from textual interface that happens in a
sub-invocation which does not have typecheck-from-interface or
compile-from-interface requested action. Instead of checking a requested
action, set a language option to control whether non-production experimental
features are allowed.

Resolves rdar://125561443
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.

3 participants