Commit Graph

2 Commits

Author SHA1 Message Date
Max Moiseev
90a20ea015 [stdlib] Resolve the ambiguity for Int32.init(bitPattern:)
When this initializer is invoked with an integer literal, the expression
is ambiguous, since both UIn32 and Float are
RepresentableByIntegerLiteral.

Fixes: https://bugs.swift.org/browse/SR-5176
2017-06-13 17:28:19 -07:00
Max Moiseev
78768d88cf Adding test for complex expressions with ints 2017-05-17 15:56:17 -07:00