Comments (4)
That error is completely wrong. The block passed to Objective-C does not escape. It is called, not retained, and the function exits.
This looks like a bug in Swift 4.2's runtime checking. In any case, I'll have a look this evening and see if I can find a work-around.
from cwlpreconditiontesting.
According to Swift developer Joe Groff, this is a confirmed Swift 4.2 bug.
https://twitter.com/jckarter/status/1004521338575261696
I'll still look for a workaround since I have no idea how long it will take this issue to be resolved in Xcode.
from cwlpreconditiontesting.
Yes, this is a Swift compiler bug (I and @phatblat are the reporters of this in the Swift lab).
Current workaround is Quick/Nimble#537.
from cwlpreconditiontesting.
The fix for the compiler bug is somehow included in Xcode 10 beta 3 (Quick/Nimble#560), so I'm closing this.
from cwlpreconditiontesting.
Related Issues (20)
- Add the assertion message to returned exception HOT 1
- Unwind (upd'd)
- Occasional crashes when running tests HOT 4
- Under Xcode 9.3 catchBadInstruction no longer handles FatalError() HOT 5
- CwlPreconditionTesting.framework/Modules/module.modulemap:9:12: Header 'CwlPreconditionTesting-Swift.h' not found HOT 3
- Undefined symbols for architecture x86_64: "_catchExceptionOfKind" HOT 2
- Can't be built for real devices (iOS and tvOS)
- Doesn't build with iOS 13.1 SDK HOT 1
- Darwin.framework in Xcode 11.4 is missing symbols HOT 2
- Apple Silicone Support HOT 15
- Compiler Error with Swift 5.5: symbol 'NDR_record' (NDR_record) is in generated IR file, but not in TBD file HOT 5
- Apple Silicon under Rosetta HOT 2
- Preconditions under Task with Swift Concurrency is not handled HOT 1
- Build Warning With Xcode 14 - 'mach_port_destroy' was deprecated in iOS 15.0 HOT 1
- Add tvOS support HOT 4
- Intermittent: undeclared identifier 'BadInstructionException' HOT 2
- alternative to `setjmp` under new Swift releases HOT 15
- Return of the intermittent "undeclared identifier 'BadInstructionException'" error HOT 2
- master branch unavailable HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cwlpreconditiontesting.