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
Assertion failed: (isa<ArchetypeType>(type)), function addProtocolConformance, file /Volumes/Data/swift-public/swift/lib/IRGen/GenProto.cpp, line 2869.
Stack dump:
0. Program arguments: /Volumes/Data/swift-public/build/ninja/swift-macosx-x86_64/bin/swift -frontend -c -primary-file - -target x86_64-apple-darwin18.5.0 -enable-objc-interop -sdk /Volumes/Data/Applications/Xcode10.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -color-diagnostics -module-name main -o /var/folders/_d/dmrgv26d3bs6lkrks9z825_w0000gn/T/--7dafe9.o
1. While emitting IR SIL function "@$s4main6EitherOAAs5ErrorRzrlE13asRightResults0F0Oyq_sAD_pGvg".
for getter for asRightResult (at <stdin>:16:14)
More Error self-conformance issues, I guess (as noted). @rjmccall?
Environment
Swift 5 (Xcode 10.2 beta 4)
Additional Detail from JIRA
md5: f5630b5a325b8fd4c743d8339125feb2
duplicates:
values.map(Result.success)
raises assertion failureIssue Description:
Given the following
Either
type:The following code appears to put the compiler into an infinite loop:
Meanwhile, opening closures to allow the types to coerce causes a segfault:
The text was updated successfully, but these errors were encountered: