Previously we wrongly inferred the type of the builtin type itself (e.g. `Literal[int]`); we need to infer the instance type instead.
Previously we wrongly inferred the type of the builtin type itself (e.g. `Literal[int]`); we need to infer the instance type instead.