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
Should these two functions print identical results? As of Xcode 10.2.1 values are different. Default values for `log` are evaluated in context of caller, when values for `log2` are evaluated in context of callee. Please see playground reproducing this in the attachment.
The text was updated successfully, but these errors were encountered:
Attachment: Download
Additional Detail from JIRA
md5: 3de8b4cf94eb450bdca6bce3ba7ec3bd
duplicates:
Issue Description:
Values of #file/#line/#column/#function are different depending on context.
Consider two functions:
Should these two functions print identical results? As of Xcode 10.2.1 values are different. Default values for `log` are evaluated in context of caller, when values for `log2` are evaluated in context of callee. Please see playground reproducing this in the attachment.
The text was updated successfully, but these errors were encountered: