Many programming tutorials would say that it's better to use parentheses when 
needed than to try to remember the operator precedence. And, as we have UFCS, 
you may invoke it as `input.type.`$`.toUpper()` or `toUpper($input.type)`, to 
prevent this problem.

And as I can remember, `type` is a reserved word, so maybe it shouldn't be used 
as a name.

Reply via email to