[SR-5583] Swift compiler chokes on complex expressions #48155
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 4.0
type checker
Area → compiler: Semantic analysis
Environment
x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 2124e8902c4a15a09b59388a752aa3d3
Issue Description:
Currently I am working on a vector library in swift and have a problem with the Swift-compiler that ships with the 4th beta of Xcode 9.
It has a problem compiling the methods that calculate the inverse and determinant of the matrix.
The errors I get are
This piece of code worked well with the swift3(.e.g. Xcode 8.3.3) compilers and the first and second Xcode 9 betas
The only way around this is splitting the calculation into multiple parts.
The text was updated successfully, but these errors were encountered: