Eli Barzilay 746bdb7946 Fix getContextualTypeForBindingElement for arrays
When handling an array type, the lookup should use the position index
instead of the identifier name.

Also uncomment the tests in the `staticFieldWithInterfaceContext.ts`
test which failed because of this bug.

Fixes #40158.
2020-08-26 16:28:50 -04:00
..
2020-06-17 03:28:55 -04:00
2020-06-17 03:28:55 -04:00
2019-09-20 17:17:39 -07:00
2019-12-09 16:31:23 -08:00
2019-10-13 09:45:56 -07:00