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
@paulp said:
That isn't a "by-name member", it's a method. There aren't any by-name members, there are only by-name parameters. Whether a member is a val or a def is not information which is encoded into its type.
This is trivial outside of side-effecting code but I'm surprised Scala doesn't identify
g
as=> Int => String
.The text was updated successfully, but these errors were encountered: