# Bug Report ### π Search Terms intellisense, contextual inference, call site inference Related: #44821 ### π Version & Regression Information Tested with v4.3.4 ### β― Playground Link [Playground](https://www.typescriptlang.org/play?jsx=0#code/LYCg3gBAZg9jBcEAkIBEsaoJQQL5YG4IB6YiAVwDsBTADwAdqBjAF2oBMJqAnbmbgFAD2zADYBDbtQhMYlAM4sIweAIgQAPAGUutNpXbyIi7gEtKAcwB8IeYkgBtAPoRzELQF17yRADkYAJKUUDzaVnh4OAC84QBuMKbsQiJMElIycoo+mloANBAAKrr6hu42doXRVmoQkEiIOrhCLACejBD+QSHcGgXhURAOBR5DxdQGRuKULRAA-BAADBCINLE8HgQCQA) ### π» Code ```ts m({ foo: $("foo") }); // unexpected error declare const m: <S extends string>(s: { [_ in S]: { $: NoInfer<S> } }) => void declare const $: <S, T extends S>(s: T) => { $: S } type NoInfer<T> = [T][T extends any ? 0 : never]; ``` ### π Actual behavior Code does not compile ### π Expected behavior Code should compile. Especially when the intellisense gets the type parameters right and also provides completions. Expected type parameters and return type -  Expected completion -  But doesn't compile and gives error - 