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
hamishknight opened this issue
Jul 29, 2019
· 0 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfSILGenArea → compiler: The SIL generation stage
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfSILGenArea → compiler: The SIL generation stage
Environment
Swift version 5.1-dev (LLVM 200186e28b, Swift b8b7384)
Target: x86_64-apple-darwin18.5.0
Additional Detail from JIRA
md5: 26236d95a5fcdfe29a8e9d2b794643db
duplicates:
Issue Description:
As the following example demonstrates,
#function
only evaluates to the caller's function name when at the top-level of a default arg expression:Arguably both cases should evaluate to
qux()
. This is even the case when wrapping it in parentheses:The text was updated successfully, but these errors were encountered: