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

Fix #if config error handling #112

Merged
merged 3 commits into from
Jan 25, 2024
Merged

Fix #if config error handling #112

merged 3 commits into from
Jan 25, 2024

Conversation

skorulis-ap
Copy link
Collaborator

@skorulis-ap skorulis-ap commented Jan 25, 2024

In the previous version the script would error immediately when an #else condition was found. This didn't account for the possibility that that the #else was not related to a registration or import so wouldn't matter for code generation.

I've added both a unit test and some code in the example to confirm that this works as expected.

Also bumped to 0.2.6 as I want to get this into cash-ios quickly.

@skorulis-ap skorulis-ap force-pushed the skorulis/else-config-fix branch from 8ee84f7 to 4c5aab0 Compare January 25, 2024 00:23
@skorulis-ap skorulis-ap marked this pull request as ready for review January 25, 2024 00:25
@skorulis-ap skorulis-ap requested a review from bradfol January 25, 2024 00:35
@skorulis-ap skorulis-ap force-pushed the skorulis/else-config-fix branch from 4c5aab0 to de00453 Compare January 25, 2024 02:00
@skorulis-ap skorulis-ap merged commit f0df183 into main Jan 25, 2024
2 checks passed
@skorulis-ap skorulis-ap deleted the skorulis/else-config-fix branch January 25, 2024 02:14
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.

2 participants