-
Notifications
You must be signed in to change notification settings - Fork 33
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
%init of groups not compatible with ternary operators #50
Comments
I don’t believe this is possible without restructuring how |
I see. I wished I could help more, but I've never touched Perl. |
This is somewhat related to item 2 of #5. Can you try doing this in the mean time? %c(SBHomeScreenBackdropView) ? (%init(SwitcherBackdrop_iOS12)) : (%init(SwitcherBackdrop_iOS11)); |
@uroboro Yes, that works fine, thank you! |
While it does indeed work, I don’t believe this is a good application of the ternary operator. I won’t be adding any specific support for this usage. |
It would make sense to write the snippet
as a ternary statement,
but that results in errors.
It seems like Logos outputs a mix between a normal if statement and a ternary operator.
The text was updated successfully, but these errors were encountered: