-
Notifications
You must be signed in to change notification settings - Fork 50
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
Test suite crashes on Xcode 13.3 / Swift 5.6 #37
Comments
Looks like a Swift 5.6 regression. I'll investigate. |
@nighthawk is the crash affecting your project, or just the test failure? If it's only the latter I can just disable the test for now. |
As far as I can tell, it doesn't seem to be impacting my project; just running the tests crashed. I commented out these tests temporarily:
|
@nicklockwood .. Seems following line is causing the issue (Expression.swift: line 354)
Haven't figured out the exact cause yet, but looks like there is an issue where there is cascaded nil-coalescing operation. Adding brackets to first two correctly evaluated fn to be nil solves the crash.
You can add this workaround temporarily. |
@bhimsenp thanks, that solved it! |
@nighthawk fixed in 0.13.6 |
Running this repo's test suite on macOS 12.3 with Xcode 13.3 and Swift 5.6 crashes on my M1 MacBook Air with an
EXC_BAD_ACCESS
.This happens in tests such as
testTooFewArgumentsForCustomFunctionWithAdvancedInitializer
and a number of other ones which test a mismatching number of arguments.I couldn't yet narrow down what might be causing it and if it's an issue introduced with Swift 5.6 or with this library, or what to do about it. It happens both when running through Xcode or with
swift test
from the command line. Any advise appreciated!The text was updated successfully, but these errors were encountered: