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
swift-ci opened this issue
Mar 30, 2017
· 2 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
1. Make 2 file
2. In file A, make 1 class conform some protocol.
3. In file B, make Generics type that has the class, and constraints the protocol.
4. Add extension the Generics class, and write a function that return Self.
5. Compile there files, `swiftc B.swift A.swift`. file B is first.
I try it sometimes, 1 project is crashed, but other hand is not crashed.
Minimum code is here.
//File AprotocolA {}
classO {}
extensionO: A {}
//File BstructF<X: O> whereX: A {
}
extensionF {
funcf() -> F {
returnF()
}
}
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Environment
Swift 3.1, Xcode 8.3
Additional Detail from JIRA
md5: 7cbd6fdaff3214815ec1a4152d61debe
Issue Description:
1. Make 2 file
2. In file A, make 1 class conform some protocol.
3. In file B, make Generics type that has the class, and constraints the protocol.
4. Add extension the Generics class, and write a function that return Self.
5. Compile there files, `swiftc B.swift A.swift`. file B is first.
I try it sometimes, 1 project is crashed, but other hand is not crashed.
Minimum code is here.
Crashes project is here
https://github.com/tarunon/SR-4434
Crash log is here
The text was updated successfully, but these errors were encountered: