You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jepers opened this issue
Jul 11, 2018
· 6 comments
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfruntimeThe Swift Runtime
func g(_ x: Int, _ y: Int) {}
func h(_ tuple: (Int, Int)) {}
print("Type of g:", type(of: g)) // (Int, Int) -> ()
print("Type of h:", type(of: h)) // (Int, Int) -> ()
// Note that the type of h is printed incorrectly, it
// should be: ((Int, Int)) -> ()
// The types are different however:
print("Type of g == Type of h:", type(of: g) == type(of: h)) // false
The text was updated successfully, but these errors were encountered:
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfruntimeThe Swift Runtime
Environment
Xcode 9.4, Xcode 10 betas and recent dev snapshot
Additional Detail from JIRA
md5: 65a8dc689e6bb2ce5345b941eeb2c5a8
Issue Description:
The text was updated successfully, but these errors were encountered: