mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Implementation is as follows: In `preCheckExpression` try to detect if there is `T(literal)` call in the AST, replace it with implicit `literal as T`, while trying to form type-checked AST, after constraint solving, restore source information and drop unnecessary coercion expression. Resolves: rdar://problem/17088188 Resolves: rdar://problem/39120081 Resolves: rdar://problem/23672697 Resolves: rdar://problem/40379985
371 B
371 B