forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CSBindings] Coalesce
ExpressibleBy{Integer, Float}Literal
early
The only possible default which could satisfy both protocols is `Double`, otherwise it has to be some custom type which conforms to both protocols. Either way it's best to leave `ExpressibleByFloatLiteral` in place to get to `Double` faster or make sure that custom type conforms to it even if it would later fail `ExpressibleByIntegerLiteral` conformance, at least that wouldn't introduce any unviable bindings.
- Loading branch information
Showing
1 changed file
with
20 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters