You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's failing for me with a +Asserts compiler on macOS as well, so I think the difference is just whether asserts are on. That means it's very likely the same thing after all. Thanks!
Environment
Ubuntu 16.04 (I tried three snapshots):
Swift version 4.0.3 (swift-4.0.3-RELEASE)
Target: x86_64-unknown-linux-gnu
Swift version 4.1-dev (LLVM 5d946db43c, Clang 1212e53405, Swift 810bc89)
Target: x86_64-unknown-linux-gnu
Swift version 4.1-dev (LLVM 5d946db43c, Clang 1212e53405, Swift 810bc89)
Target: x86_64-unknown-linux-gnu
macOS:
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 3e9625802894e8a388e0a08cdcc499b3
duplicates:
Issue Description:
The Swift compiler crashes when compiling the following code on Ubuntu, but not on macOS:
but not if you add a `super.init()` call like so:
The fact that the subclass' init is overriding its superclass' init as well as the fact that they are throws seem to be important.
The full error is here:
The text was updated successfully, but these errors were encountered: