5592 Commits

Author SHA1 Message Date
Andy Hanson
ec558b8080 Merge branch 'master' into refactor_findallrefs 2017-03-17 08:04:04 -07:00
Vladimir Matveev
595342615b abstract code in FindReferences from concrete way of creating result reference entry to seamlessly reuse the same code for gotoImplementation (#14637) 2017-03-16 15:53:05 -07:00
Zhengbo Li
5040e1d279 Mark occurence item in string with a special property (#14677)
* mark occurence item in string with a special property

* Adding trailing commas
2017-03-16 11:01:48 -07:00
Vladimir Matveev
2b10611fbf initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer (#14441)
initial revision of infrastructure to produce text changes that uses existing node factory, formatter and printer
2017-03-15 11:44:36 -07:00
Mohamed Hegazy
3ac54e8a47 Infer class property declarations from assignments in nested arrow functions 2017-03-12 15:00:24 -07:00
Nathan Shively-Sanders
bdb6a8a83a Merge pull request #12784 from e-cloud/fix/generic-this-arg
fix: add generic info for methods with thisArg of built-in classes
2017-03-10 09:02:09 -08:00
Yui
940d165b0d Merge pull request #14212 from Microsoft/master-12989
[Master] Fix 12989:  completion in JSX opening-like element when tag name is a property access expression
2017-03-09 18:42:36 -08:00
Arthur Ozga
8817703a15 Merge pull request #14545 from aozgaa/docCommentPrefix
Make docComment template indent whitespace-only
2017-03-09 16:13:29 -08:00
Anders Hejlsberg
4b4211f38b Add repro 2017-03-09 11:57:56 -08:00
e-cloud
5f5aa20816 test: adjust test case completionEntryForUnionMethod 2017-03-09 11:52:54 +08:00
e-cloud
18154fe111 test: add tests for this type in native-this-assignable methods 2017-03-09 11:52:54 +08:00
Mohamed Hegazy
0fb415ac61 Merge pull request #14492 from Microsoft/anyInferences
Set inference result to `any` instead of `{}` for .js files if generic type parameter inference found no candidates
2017-03-08 16:15:50 -08:00
Arthur Ozga
b7d09ef015 Make docComment template indent whitespace-only 2017-03-08 12:41:20 -08:00
Nathan Shively-Sanders
1bf4f06b2a Merge pull request #14498 from Microsoft/narrow-default-initialised-parameters
Remove undefined from the type of default  initialised parameters when narrowing
2017-03-07 15:03:57 -08:00
Mohamed Hegazy
89974bdaaf Merge pull request #14172 from Microsoft/moduleExportsAlias
Fix #14171: Recognize property assignements to `module.export` aliases as exports
2017-03-07 11:13:19 -08:00
Nathan Shively-Sanders
36513f21ab Remove only undefined, not null | undefined, from declared type 2017-03-07 09:14:51 -08:00
Anders Hejlsberg
0ac92b4706 Add tests 2017-03-07 09:07:53 -08:00
Mohamed Hegazy
3705b87c5c Merge branch 'master' into infereClassPropertiesFromMethods 2017-03-06 16:53:51 -08:00
Mohamed Hegazy
b3161e365a Merge pull request #14222 from Microsoft/addAnyStringIndexerToJSObjects
Add a string indexer to any for object literals on a .js file
2017-03-06 16:44:30 -08:00
Nathan Shively-Sanders
533ce824e8 Add assignability tests for initialised parameters 2017-03-06 16:24:44 -08:00
Mohamed Hegazy
8f7fd0918b Set inference result to any isntead of {} for .js files if generic type parameter inference found no candidates 2017-03-06 13:35:03 -08:00
Anders Hejlsberg
c968eed968 Merge pull request #14472 from Microsoft/typeParameterTypeGuards
Fix type parameter type guards
2017-03-06 11:12:17 -10:00
Anders Hejlsberg
41226d0d75 Merge pull request #14141 from Microsoft/contextualThisType
Typed 'this' in object literal methods
2017-03-06 11:11:40 -10:00
Anders Hejlsberg
efea81b8a0 Add failing repro 2017-03-05 14:07:33 -08:00
Anders Hejlsberg
56e2735f56 Fix fourslash test 2017-03-03 14:57:14 -08:00
Anders Hejlsberg
c2431ade0c Add regression test 2017-03-03 14:33:07 -08:00
Andy Hanson
b2f7d47977 Remove old commented-out code 2017-03-03 08:54:41 -08:00
Andy Hanson
556e8c3845 Merge branch 'master' into enum_member 2017-03-03 07:04:40 -08:00
Yui
5abb8f3caa Merge pull request #14371 from Microsoft/master-fix14254
[Master] Fix 14254: Return JsDoc tagName when there is no "@" sign prefix
2017-03-01 21:48:17 -08:00
Yui T
da51f39695 FIx minor stuffs 2017-03-01 21:11:34 -08:00
Kanchalai Tanglertsampan
34b68095d2 Add more tests 2017-03-01 17:46:46 -08:00
Arthur Ozga
e9fd831a9d Merge pull request #14140 from aozgaa/ImplementMissingThis
Implement Missing Property of Type `this`
2017-03-01 16:17:35 -08:00
Mohamed Hegazy
609008a520 Merge pull request #14387 from magnushiie/master
Add insert...Braces Option to Server Protocol
2017-03-01 11:21:44 -08:00
Andy
69060025ba Merge pull request #12352 from Microsoft/untyped_module_symbol
Use a symbol for untyped modules to distinguish from unknownSymbol
2017-03-01 10:38:47 -08:00
Kanchalai Tanglertsampan
9bef19c54c Fix JsDoc tagname in tests 2017-03-01 09:19:47 -08:00
Magnus Hiie
9ac2ea722d Add insert...Braces Option to Server Protocol
Closes #13275
2017-03-01 18:48:08 +02:00
Andy Hanson
aac3d80fc4 Merge branch 'master' into refactor_findallrefs 2017-03-01 08:45:41 -08:00
Anders Hejlsberg
9d1b325e09 Update another test 2017-03-01 06:31:34 -08:00
Arthur Ozga
5bcbd7aabc instantiate generic this param correctly 2017-02-28 19:35:15 -08:00
Anders Hejlsberg
25738a8e41 Update tests 2017-02-28 16:09:42 -08:00
Kanchalai Tanglertsampan
441c5880d7 Update fourslash tests 2017-02-28 15:41:47 -08:00
Kanchalai Tanglertsampan
4aac67b4e6 Remove assertion 2017-02-28 09:59:17 -08:00
Anders Hejlsberg
ee7b93c1a0 Merge branch 'master' into contextualThisType 2017-02-28 09:52:03 -08:00
Anders Hejlsberg
ff2cfd2af5 Update test 2017-02-28 09:49:54 -08:00
Mohamed Hegazy
b977b8cc45 Respond to code review comments 2017-02-27 15:58:01 -08:00
Andy Hanson
cc4a3a830f Add check for undefined declarations 2017-02-27 14:18:46 -08:00
Mohamed Hegazy
36eb1ced1d Merge pull request #14324 from mihailik/master
Special-case (0,eval) for side-effect-free 0 left of comma
2017-02-27 11:32:11 -08:00
Anders Hejlsberg
5bda48ba8d Add tests 2017-02-27 10:19:26 -08:00
Oleg Mihailik
baef2aa2c1 Baseline accept 2017-02-27 01:05:56 +00:00
Oleg Mihailik
6a88cf0edf Better check for right.text, more comments in test 2017-02-26 23:13:50 +00:00