[SR-1122] Failure to typecheck chain of binary operators on force-unwrapped values #43735
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
Linux
Platform: Linux
regression
swift 3.0
type checker
Area → compiler: Semantic analysis
Environment
swift-DEVELOPMENT-SNAPSHOT-2016-03-24-a-ubuntu15.10
Swift 3.0-dev
Tested on Ubuntu 15.10.
And Swift 3.0 - Release
Additional Detail from JIRA
md5: 13d9bb7833934bcdea0929d92681e5b9
is duplicated by:
Issue Description:
When trying to concatenate more than two strings in swift3 using the "!" symbol on each string, swift outputs an error. This used to work in swift 2.2.
When compiling this:
I get the following error:
Here is the same example in the IBM sandbox
See the answer here on Stack Overflow for more details
The text was updated successfully, but these errors were encountered: