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
Xcode 8 beta 5 with Swift preview 5
&
Apple Swift version 2.1 (swiftlang-700.1.101.6 clang-700.1.76)
Target: x86_64-apple-darwin15.2.0
Additional Detail from JIRA
Votes
1
Component/s
Compiler
Labels
Bug
Assignee
None
Priority
Medium
md5: 8b54a0264d94ddd74d8dc7a7f25137a2
Issue Description:
When a function with the same name (not necessarily signature) is called inside other function an error is produced. A very reduced example below produces the following error; Argument passed to call that takes no arguments.
As of Xcode 8 beta 5 this is still not solved and it occurs with any call to a global function which has the same name (without considering argument labels):
Environment
Xcode 8 beta 5 with Swift preview 5
&
Apple Swift version 2.1 (swiftlang-700.1.101.6 clang-700.1.76)
Target: x86_64-apple-darwin15.2.0
Additional Detail from JIRA
md5: 8b54a0264d94ddd74d8dc7a7f25137a2
Issue Description:
When a function with the same name (not necessarily signature) is called inside other function an error is produced. A very reduced example below produces the following error;
Argument passed to call that takes no arguments
.The correct behavior would be to call the correct function -
round(x: CGFloat
in this example.The text was updated successfully, but these errors were encountered: