-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[SR-7342] Teach EmitImportedModules action to evaluate conditional co… #15739
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
Conversation
@swift-ci please smoke test |
AFAICT no other callers of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking this!
test/Driver/imported_modules.swift
Outdated
|
||
#if canImport(Swift) // To wit, true | ||
import Swift | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you include a condition that's false, too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with Jordan this should have a test for a false condition; otherwise LGTM.
Tests passed, added two false conditional tests, holding for @huonw |
@swift-ci please smoke test and merge |
Oh boy, here I go yelling at CI again @swift-ci please smoke test |
⛵️ |
…mpilation blocks.
Missed this while implementing SE-0075. Will need to cherry-pick this into 4.2 as well.
Resolves SR-7342.