Skip to content
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

[3/n] Support imports gated by compilation directives #205

Conversation

andrewchang-bird
Copy link
Contributor

@andrewchang-bird andrewchang-bird commented Jul 2, 2021

Some source modules conditionally gate import declarations via compilation directives to support platform-specific dependencies. This change allows import declarations in the generated mock file to preserve compilation directives from the original source file.

Closes #184

Some source modules conditionally gate import declarations via
compilation directives to support platform-specific dependencies. This
change allows import declarations in the generated mock file to preserve
compilation directives from the original source file.
@andrewchang-bird andrewchang-bird merged commit aab1f47 into typealiased:master Jul 9, 2021
@andrewchang-bird andrewchang-bird deleted the import-compilation-directives branch July 9, 2021 20:45
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.

Mock generator should add compiler flags around OS-specific libraries (e.g. AppKit vs. UIKit)
2 participants