Skip to content

Conversation

@kavon
Copy link
Member

@kavon kavon commented Mar 24, 2023

It's kind of odd how features that are unconditionally enabled, like Feature::Actors is not actually satisfying LangOptions.hasFeature(Feature::Actors). This wasn't causing a problem elsewhere when parsing the feature in swiftinterface files because EvaluateIfConfigCondition::visitUnresolvedDeclRefExpr has its own switch over the features (rather than asking if it's enabled). Also, most of the time when someone enables a feature permanently, it's expected that all hasFeature queries are removed because "it's now always on". Now we actually make sure the feature is always on.

@kavon
Copy link
Member Author

kavon commented Mar 24, 2023

@swift-ci smoke test

@kavon
Copy link
Member Author

kavon commented Mar 24, 2023

@swift-ci please test

1 similar comment
@kavon
Copy link
Member Author

kavon commented May 2, 2023

@swift-ci please test

@kavon kavon marked this pull request as ready for review May 2, 2023 18:20
@kavon kavon requested review from DougGregor and zoecarver and removed request for hborla, slavapestov, tshortli and xedin May 2, 2023 18:21
@kavon kavon closed this Apr 23, 2024
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