TypeScript/tests/cases/conformance/salsa
Nathan Shively-Sanders 4462c159b1
Correctly track thisContainer for this-property-assignments in JS nested containers (#22779)
* Track thisContainer for this-property-assignments in JS

Previously it would update on every block, not just those that could
bind `this`.

In addition, if the constructor symbol still can't be found, then no
binding happens. This is usually OK because people don't add new
properties in methods too often.

* Update additional baselines

* Add lib:dom to new test

* Address PR comments

* Correct new name for saveThisParentContainer
2018-03-22 09:54:43 -07:00
..
constructorFunctions.ts Check for initializer before using it (#18708) 2017-09-22 17:14:22 -07:00
constructorFunctions2.ts For f.prototype.m = function() { this.x = 0; } make x a member of f, not of the function expression (#22643) 2018-03-16 11:35:51 -07:00
constructorFunctionsStrict.ts Js constructor function fixes (#22721) 2018-03-20 11:24:09 -07:00
exportDefaultInJsFile01.ts
exportDefaultInJsFile02.ts
exportNestedNamespaces.ts Support js nested namespace decls on exports 2018-02-27 10:20:16 -08:00
exportNestedNamespaces2.ts Remove assert for undeclared js-nested-exports 2018-02-27 15:04:10 -08:00
inferingFromAny.ts
inferringClassMembersFromAssignments.ts Infer class property declarations from assignments in nested arrow functions 2017-03-12 15:00:24 -07:00
inferringClassMembersFromAssignments2.ts In source files and blocks, bind function declarations before other statements (#22766) 2018-03-21 14:22:09 -07:00
inferringClassStaticMembersFromAssignments.ts Fix #14620: Lookup names in exports as well as locals when binding special properties 2017-03-23 10:26:05 -07:00
jsContainerMergeTsDeclaration.ts Disallow JS/non-JS merge without crashing 2018-03-08 09:49:23 -08:00
jsObjectsMarkedAsOpenEnded.ts
malformedTags.ts
methodsReturningThis.ts
moduleExportAlias.ts
moduleExportNestedNamespaces.ts Support js nested namespace decls on exports 2018-02-27 10:20:16 -08:00
multipleDeclarations.ts
typeFromParamTagForFunction.ts Better types from jsdoc param tags 2017-06-06 18:10:00 -07:00
typeFromPropertyAssignment.ts Test:Type references to nested JS classes 2017-11-21 10:23:23 -08:00
typeFromPropertyAssignment2.ts Test:Type references to nested JS classes 2017-11-21 10:23:23 -08:00
typeFromPropertyAssignment3.ts Test:Type references to nested JS classes 2017-11-21 10:23:23 -08:00
typeFromPropertyAssignment4.ts Correctly merge JS decls 2018-02-13 14:17:46 -08:00
typeFromPropertyAssignment5.ts Tests:more JS static property assignments 2017-11-27 15:20:06 -08:00
typeFromPropertyAssignment6.ts JS static properties:fix multi-file references+merging 2017-11-28 13:46:14 -08:00
typeFromPropertyAssignment7.ts Test:js object literal assignment as declaration 2017-11-29 11:37:35 -08:00
typeFromPropertyAssignment8.ts Update tests and baselines 2018-02-09 16:20:44 -08:00
typeFromPropertyAssignment9.ts Clean up js decl code in checker+utilities 2018-02-14 15:48:20 -08:00
typeFromPropertyAssignment10.ts Refactor binder and update baselines. 2018-02-13 15:44:15 -08:00
typeFromPropertyAssignment11.ts Fix js-prototype-assignment on declarations 2018-02-22 12:52:50 -08:00
typeFromPropertyAssignment12.ts First draft of prototype assignment 2018-02-22 09:25:42 -08:00
typeFromPropertyAssignment13.ts Incremental prototype+prototype assignment work 2018-02-22 11:04:29 -08:00
typeFromPropertyAssignment14.ts Fix nested js-containers+proto assignment in types space 2018-02-23 09:16:01 -08:00
typeFromPropertyAssignment15.ts Fix nested js-containers+proto assignment in types space 2018-02-23 09:16:01 -08:00
typeFromPropertyAssignment16.ts Fix nested js-containers+proto assignment in types space 2018-02-23 09:16:01 -08:00
typeFromPropertyAssignment17.ts In source files and blocks, bind function declarations before other statements (#22766) 2018-03-21 14:22:09 -07:00
typeFromPropertyAssignment18.ts In source files and blocks, bind function declarations before other statements (#22766) 2018-03-21 14:22:09 -07:00
typeFromPropertyAssignment19.ts In source files and blocks, bind function declarations before other statements (#22766) 2018-03-21 14:22:09 -07:00
typeFromPropertyAssignment20.ts Correctly track thisContainer for this-property-assignments in JS nested containers (#22779) 2018-03-22 09:54:43 -07:00
typeFromPropertyAssignment21.ts Correctly track thisContainer for this-property-assignments in JS nested containers (#22779) 2018-03-22 09:54:43 -07:00
typeFromPropertyAssignment22.ts Correctly track thisContainer for this-property-assignments in JS nested containers (#22779) 2018-03-22 09:54:43 -07:00
typeFromPropertyAssignmentOutOfOrder.ts Fix devtools test (#20731) 2017-12-18 14:47:45 -08:00
typeFromPropertyAssignmentWithExport.ts Fix emit when binder treats exported const as namespace 2018-02-12 13:02:47 -08:00
varRequireFromJavascript.ts Import types in JS with var x = require('./mod') (#22161) 2018-03-08 11:11:51 -08:00
varRequireFromTypescript.ts Import types in JS with var x = require('./mod') (#22161) 2018-03-08 11:11:51 -08:00