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
Arthur Ozga
3bdec6943e
Merge branch 'master' into tripleEquals
2017-04-05 11:51:21 -07:00
Arthur Ozga
3b6da51a81
remove TODO's
2017-04-05 11:39:59 -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
Ryan Cavanaugh
a1be5a4d68
Update cachingInServerLSHost.ts
2017-04-05 07:34:12 -07:00
Andy
2b61d18996
Merge pull request #14985 from Microsoft/jsdoc-format
...
Enable jsdoc-format lint rule
2017-04-05 07:19:31 -07:00
Andy
56510f167d
Merge pull request #15009 from Microsoft/parseTypeReference
...
Simplify parseTypeReference
2017-04-05 07:15:50 -07:00
Ryan Cavanaugh
e3bb5d3f28
Update linting to avoid typechecking for booleanTriviaRule
2017-04-04 22:34:51 -07:00
Ron Buckton
41fb0aaf6c
Merge pull request #14995 from Microsoft/cleanupLiteralEmit
...
Clean up literal emit
2017-04-04 22:10:46 -07:00
Anders Hejlsberg
9d2b57ad9e
Merge pull request #15011 from Microsoft/limitDeepInstantiations
...
Limit deep generic type instantiations
2017-04-04 20:28:33 -07:00
Anders Hejlsberg
90648fd9eb
Merge pull request #14991 from Microsoft/fixTypeRelationStackOverflow
...
Fix type relation stack overflow
2017-04-04 20:28:16 -07:00
Ron Buckton
d32231ebe3
Set numericLiteralFlags in factory to align with parser
2017-04-04 16:49:03 -07:00
Arthur Ozga
7e03429a8e
enforce triple-equals
2017-04-04 15:51:13 -07:00
Nathan Shively-Sanders
a5d320a83e
Fix whitespace lint
2017-04-04 15:15:25 -07:00
Nathan Shively-Sanders
833fd010d7
Static prop. inits can refer to later static methods
...
Static methods are created before static property initializers run, so
static property initializers may refer to static methods. This was not
allowed previously.
2017-04-04 14:49:06 -07:00
Anders Hejlsberg
6909574973
Limit symbol instantiations to a maximum depth of 100
2017-04-04 14:48:57 -07:00
Andy Hanson
2d3dd85632
Simplify parseTypeReference
...
Create the node first, rather than creating it later and setting its pos to another node that was created first.
2017-04-04 13:55:47 -07:00
Kanchalai Tanglertsampan
0a194f91a0
Emit parenthesis around propert/element access expression of casted object literal expression
2017-04-04 11:15:03 -07:00
Nathan Shively-Sanders
1c649433bd
Merge pull request #14956 from Microsoft/add-super-to-control-flow
...
Add super to control flow
2017-04-04 09:22:03 -07:00
Nathan Shively-Sanders
013d52a44d
Merge pull request #14952 from Microsoft/fix-scope-checks-of-class-properties
...
Fix scope checks of class properties
2017-04-04 08:45:31 -07:00
Yui
dd48dd1b66
Merge pull request #14916 from Microsoft/master-addressPR14692
...
[Master] Address code review of PR 14692
2017-04-04 08:28:33 -07:00
Andy Hanson
24b09d8502
Only bind JSDoc typedefs in JavaScript files
2017-04-03 15:00:40 -07:00
Andy Hanson
fa70a182fe
Rename local variable arguments to args
2017-04-03 14:42:00 -07:00
Andy Hanson
73cab09608
Enable jsdoc-format lint rule
2017-04-03 14:39:19 -07:00
Ron Buckton
fd081f40a8
Clean up literal emit
2017-04-03 14:17:03 -07:00
Anders Hejlsberg
854731ad9b
Fix linting error
2017-04-03 13:51:13 -07:00
Anders Hejlsberg
545a7f2987
Merge branch 'master' into fixTypeRelationStackOverflow
...
# Conflicts:
# tests/baselines/reference/mappedTypeRelationships.errors.txt
2017-04-03 12:46:04 -07:00
Mine Starks
9c9b659f44
Merge pull request #14960 from minestarks/master
...
Expose JSDoc tags through the language service
2017-04-03 11:29:38 -07:00
Anders Hejlsberg
e416c7046e
Property tracking of recursive non-object types in checkTypeRelatedTo
2017-04-03 10:56:35 -07:00
Andy
45e44cee06
Merge pull request #14984 from Microsoft/backtick
...
Support backticks in require calls
2017-04-03 10:39:25 -07:00
Ryan Cavanaugh
b81c18314d
Update utilities.ts
2017-04-03 10:17:36 -07:00
Andy Hanson
130a24015a
Fix options for typedef-whitespace lint rule
2017-04-03 09:38:37 -07:00
Andy Hanson
131555fdca
Support backticks in require calls
2017-04-03 08:53:49 -07:00
Mine Starks
af0b2d9768
Merge pull request #12856 from minestarks/includejsdoctags
...
Expose JSDoc tags through the language service
2017-03-31 17:58:41 -07:00
Nathan Shively-Sanders
a62869c81e
Merge pull request #14657 from erikmcc/master
...
Allow export default abstract class. Related to issue 3792.
2017-03-31 14:56:39 -07:00
Nathan Shively-Sanders
a4a7669a4b
Add super to control flow.
...
It is handled the same way as 'this'
2017-03-31 14:17:37 -07:00
Ron Buckton
22b4e4d65d
Merge pull request #14920 from Microsoft/jsInferRestArgs
...
Infer a rest parameter for javascript function that uses 'arguments'
2017-03-31 12:52:11 -07:00
Nathan Shively-Sanders
87565daf4d
Props of class A usable in prop initializer of class B
...
Regardless of the order of declaration of class A and class B.
2017-03-31 12:03:18 -07:00
Daniel Rosenwasser
0459987673
Merge pull request #14467 from kpreisser/fix14269
...
Allow the right-hand side of an 'in' expression to be of non-primitive object type
2017-03-30 22:51:45 -07:00
jramsay
2e313caa75
Merge pull request #14100 from Microsoft/BowerComponentsFix
...
Type acquisition support for bower_components directory
2017-03-30 16:38:57 -07:00
rbuckton
3eb6270c9b
Trim whitespace
2017-03-30 12:59:09 -07:00
Zhengbo Li
e298f759c3
Fix the name of protocol.ts in tsconfig.json ( #14918 )
2017-03-29 20:42:27 -07:00
rbuckton
ea2aa0c079
Infer a rest parameter for javascript function that uses 'arguments'
2017-03-29 18:13:19 -07:00