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
SR-214 Swift 2: Guard let can shadow func param but not let-bound local constant
Issue Description:
In the following snippet, function f compiles but g won't. Intuitively, one would expect rules for shadowing an argument and a local variable to be the same.
g should compile.
The text was updated successfully, but these errors were encountered:
Additional Detail from JIRA
md5: 789f83147ce9df556416144efb03b152
duplicates:
Issue Description:
In the following snippet, function f compiles but g won't. Intuitively, one would expect rules for shadowing an argument and a local variable to be the same.
g should compile.
The text was updated successfully, but these errors were encountered: