Questions about UFCS and generics
The issue here is `$` binds the whole expression nothing to do with UFCS
Questions about UFCS and generics
You can disambiguate with a colon, analogous to Rust's turbofish: echo 1.0.foo[:int]() Run
Questions about UFCS and generics
Something vaguely related is `type $(1)` is `string` but `$(1).type` is `int`, which is a bit surprising.