Fix invalid error in case of feature literal reference with type literals