[SR-2663] ambiguous use of 'pow', Linux Swift 3.0 Release #45268
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
regression
swift 3.0
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: 3ae5a2549f4edc309c1f0058bd417d20
Issue Description:
The behavior of the type checking for pow() seems rather strange in Linux Swift 3.0 Release. I'm not sure exactly what the correct behavior should be, but the inconsistency shown below is odd, and seems either like a bug, or an oddity in Swift that is difficult to rationalize. In either case, it should be fixed / improved. See REPL session:
Note that by using: https://swiftlang.ng.bluemix.net/#/repl, you can find that this is a regression since Swift 2.2
The text was updated successfully, but these errors were encountered: