Cannot infer type for type parameter "T", seems to be compiler issue

Seems to be compiler issue: Why is this Compiling error happening for v0.64?