Nathan Shively-Sanders
d53b3ac43c
Merge pull request #15032 from Microsoft/fix-anon-class-this-reference-caching
...
Do not walk up control flow containers for `this`
2017-04-13 15:10:01 -07:00
Nathan Shively-Sanders
8a599f662f
Merge pull request #14090 from Microsoft/es5-emit-param-initialiser-before-object-rest
...
ES5:Emit parameter initialiser before object rest destructuring
2017-04-13 13:43:13 -07:00
Nathan Shively-Sanders
58a6c92c29
Rename addPrologueDirectives->addStandardPrologue
2017-04-13 13:21:56 -07:00
Nathan Shively-Sanders
5496096ee3
Split addPrologue into string + custom directives
...
The original function is now named addPrologue.
There are then three places than need to call the two split functions
separately.
2017-04-13 10:29:32 -07:00
Anders Hejlsberg
014845a637
Merge pull request #15057 from Microsoft/fixExcessPropertyCheck
...
Fix excess property check
2017-04-12 15:54:32 -10:00
Nathan Shively-Sanders
11f715c724
Merge pull request #15036 from Microsoft/remove-readonly-from-spread-properties
...
Remove readonly from spread properties
2017-04-12 16:32:16 -07:00
Yui
ee52477798
Merge pull request #15037 from Microsoft/master-14401
...
[Master] Include dom into default library files
2017-04-12 13:42:40 -07:00
Nathan Shively-Sanders
24852b6be4
Merge branch 'master' into es5-emit-param-initialiser-before-object-rest
2017-04-12 12:59:10 -07:00
Nathan Shively-Sanders
28cdaf24e9
Address PR:fix find-all-refs and slim down code
...
Also add readonly to find-all-ref test
2017-04-12 11:31:52 -07:00
Ron Buckton
6c4a24eb11
Fix down-level emit for captured loop variable in async function
2017-04-11 17:30:53 -07:00
Andy
12df0324ee
Merge pull request #15142 from Microsoft/newLine
...
Don't access `sys.newLine` inside unit tests
2017-04-11 14:40:09 -07:00
Zhengbo Li
11ac006d60
Fix issue that randomly closes configured projects ( #15080 )
...
* Fix issue that randomly closes configured projects
* Correct the default project selection
2017-04-11 14:25:32 -07:00
Andy Hanson
893e3242fb
Don't access sys.newLine inside unit tests
2017-04-11 14:24:32 -07:00
Andy
1798e8f58b
Merge pull request #15131 from Microsoft/boolean-trivia-spacing
...
boolean-trivia lint rule: Enforce space between comment and argument
2017-04-11 14:10:17 -07:00
Ryan Cavanaugh
34e3f5fe4a
Merge pull request #15111 from RyanCavanaugh/typesMap2
...
Add tests, comments, and min.js exclusion
2017-04-11 11:08:14 -07:00
Andy Hanson
ed5eca2b7b
boolean-trivia lint rule: Enforce space between comment and argument
2017-04-11 09:44:58 -07:00
Andy
c38d2a188a
Merge pull request #15077 from Microsoft/null-trivia
...
boolean-trivia lint rule: Lint for null/undefined too
2017-04-11 08:43:41 -07:00
Ryan Cavanaugh
2b3c2b3448
Add tests, comments, and min.js exclusion
2017-04-10 16:00:15 -07:00
Ryan Cavanaugh
2ca90b7eb6
Merge pull request #14999 from RyanCavanaugh/typesMap
...
Add advanced safelist for exclusions
2017-04-10 10:20:50 -07:00
Ryan Cavanaugh
a874567d46
Remove tsserver command for loading different map
2017-04-07 16:58:32 -07:00
Ryan Cavanaugh
2b09e54baa
Remove bad merge + unused cmd name
2017-04-07 16:58:21 -07:00
Ryan Cavanaugh
fc988a16ee
Pass correct regex flag
2017-04-07 16:58:13 -07:00
Andy Hanson
7320891933
boolean-trivia lint rule: Lint for null/undefined too
2017-04-07 13:13:39 -07:00
Ryan Cavanaugh
47cf7caf6e
Fix path escaping and slash normalization
2017-04-07 12:49:46 -07:00
Ryan Cavanaugh
439f1c77bd
Fix regex for real this time
2017-04-06 13:19:22 -07:00
Ryan Cavanaugh
857b762edd
Fixes
2017-04-06 12:50:22 -07:00
Anders Hejlsberg
ffab267389
Fix excess property check with empty target object type
2017-04-06 12:46:59 -07:00
Ryan Cavanaugh
c164730a01
Add Kendo; fix Office
2017-04-06 12:39:25 -07:00
Nathan Shively-Sanders
3029b8fe38
Merge pull request #14935 from Microsoft/allow-extending-from-any
...
Allow extending from any
2017-04-06 09:18:01 -07:00
Nathan Shively-Sanders
f635042255
Improve test and comments
...
Test asserts that unused locals error works for untyped modules.
Comment no longer claims to check for untyped modules.
2017-04-06 09:02:18 -07:00
Nathan Shively-Sanders
90d5c299b0
Remove special symbol for untyped modules
...
Extending symbols from untyped modules is no longer an error, so #12532
didn't get us anything except slightly better quick info.
2017-04-05 16:01:04 -07:00
Nathan Shively-Sanders
441e54ce00
Update comment
2017-04-05 15:49:34 -07:00
Nathan Shively-Sanders
7e3c0337cf
Unknown bases return baseConstructorType, not anyType
...
Returns several baselines to their original states.
2017-04-05 14:51:50 -07:00
Nathan Shively-Sanders
75f1774cb4
A few changes requested by review comments
2017-04-05 14:41:11 -07:00
Nathan Shively-Sanders
7f6c49e23b
Check TypeFlags.Any instead of anyType&unknownType
2017-04-05 14:09:12 -07:00
Anders Hejlsberg
dce7fca83d
Merge pull request #15033 from Microsoft/emptyObjectIntersection
...
Remove empty object types from intersection types
2017-04-05 14:04:16 -07:00
Kanchalai Tanglertsampan
04c71f0971
Include dom into default library files
2017-04-05 13:48:35 -07:00
Andy
bb8862fd09
Merge pull request #14996 from Microsoft/args
...
Rename local variable `arguments` to `args`
2017-04-05 13:45:51 -07:00
Nathan Shively-Sanders
1fc45d3d8b
Remove readonly from spread properties
...
Spreading an object now removes `readonly` from properties in the
resulting object.
2017-04-05 13:43:47 -07:00
Ryan Cavanaugh
125c012c8d
Lint
2017-04-05 13:14:18 -07:00
Ryan Cavanaugh
376cea648e
Allow resetting so tests pass
2017-04-05 13:14:17 -07:00
Ryan Cavanaugh
a4c2f78b75
Update tsserverProjectSystem.ts
2017-04-05 13:14:17 -07:00
Ryan Cavanaugh
54b1c34a44
Fix failing test
2017-04-05 13:14:16 -07:00
Ryan Cavanaugh
f3c5029def
Add tests and fix bugs
2017-04-05 13:14:16 -07:00
Yui
8941e5f7b0
Merge pull request #15006 from Microsoft/master-14895
...
[Master] Emit parenthesis around propert/element access expression of casted object literal expression
2017-04-05 13:03:24 -07:00
Ryan Cavanaugh
d8a24e3a5b
Merge pull request #15021 from RyanCavanaugh/lintFixes
...
Update linting to avoid typechecking for booleanTriviaRule
2017-04-05 12:26:58 -07:00
Kanchalai Tanglertsampan
12549f69b0
Address PR
2017-04-05 12:14:46 -07:00
Anders Hejlsberg
ae386a9c32
Remove {} from intersection types that already contain object types
2017-04-05 11:07:23 -07:00
Nathan Shively-Sanders
924f536ba6
Stop looking at control flow containers for this
...
References to `this` should not continue looking outside their immediate
container to narrow. Introduced by #11458 , which allows narrowing of
captured variables inside methods of class expressions.
2017-04-05 11:02:42 -07:00
Kanchalai Tanglertsampan
82f3775956
Address PR: move the adding paren into factory function
2017-04-05 10:13:10 -07:00