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
classFoo {
defunary_~() :Foo=this// also baddefunary_+()(implicitpos: Long):Foo=this
}
valf=newFoovalf2=~f //method unary_~ must be called with () argument
Auto-application is disallowed and there a prefix def with a nilary(empty parenthesis) creates an error that cannot be avoided while maintaining a prefix position. To resolve this, we need to deprecate this possibility from the definition site.