[SR-15260] Calling .init(...) instead of TypeName(...)
for double parameter type inference for number literals fail to infer type as Double
#57582
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Environment
Xcode Version 13.0 (13A233)
Additional Detail from JIRA
md5: 5b17b186005d9d978e5d99706c962020
Issue Description:
See: https://forums.swift.org/t/why-calling-swiftui-color-redblue-compiler-can-infer-param-type-is-double-but-calling-with-init-redblue-alpha-it-cannot-and-must-use-explicit-double-literal/52427/2
The text was updated successfully, but these errors were encountered: