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
Jan 26, 2016
· 1 comment
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
Apple Swift version 3.0-dev (LLVM f95d47afa7, Clang f66c5bb67b, Swift b745691)
January 25, 2016 Snapshot
Additional Detail from JIRA
Votes
1
Component/s
Compiler
Labels
Bug, CompilerCrash
Assignee
None
Priority
Medium
md5: 46e0e2577b19e4e04826e324f60fc6f2
Issue Description:
This code works on Swift 2.1. On 3.0-dev the compiler crashes. The log says: "SIL verification failed: entry point has wrong number of arguments: entry->bbarg_size() == ti->getParameters().size()"
publicprotocolGLmathType:MutableCollectionType{typealias Element
}// This is okpublicfunc any<bvec:GLmathType>(x:bvec)->Bool{return x.reduce(false){ $0 || $1 as!Bool}}// SIL verification failed: entry point has wrong number of argumentspublicfunc any<bvec:GLmathTypewhere
bvec.Generator.Element:BooleanType,
bvec.Element ==Bool>(x:bvec)->bvec.Element{return x.reduce(false){ $0 || $1 }}
The text was updated successfully, but these errors were encountered:
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
Apple Swift version 3.0-dev (LLVM f95d47afa7, Clang f66c5bb67b, Swift b745691)
January 25, 2016 Snapshot
Additional Detail from JIRA
md5: 46e0e2577b19e4e04826e324f60fc6f2
Issue Description:
This code works on Swift 2.1. On 3.0-dev the compiler crashes. The log says: "SIL verification failed: entry point has wrong number of arguments: entry->bbarg_size() == ti->getParameters().size()"
The text was updated successfully, but these errors were encountered: