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
I would expect the compiler to be able to infer the type of quadrupled so that the snippet above compiles successfully. Interestingly, the problem doesn't occur if the extension method is used with a prefix: def quadrupled = s.doubled ++ s.doubled.
If for some surprising reason the inference problem cannot be fixed easily, at least the error message should be improved.