Commit graph

10134 commits

Author SHA1 Message Date
Ryan Cavanaugh 95196886f7 Fix lint 2016-02-01 10:14:14 -08:00
Ryan Cavanaugh 1f503f1b27 Add explicit return undefined; 2016-01-28 16:07:06 -08:00
Ryan Cavanaugh 5a845bf0fc Don't crash when return type jsdoc tag is malformed
Fixes #6662
2016-01-28 15:48:18 -08:00
Ryan Cavanaugh 2ef6f13532 Merge pull request #6699 from RyanCavanaugh/fix6663
Use union types in the return type of functions in the error case
2016-01-28 13:30:03 -08:00
Zhengbo Li 31bf103212 Merge pull request #6632 from zhengbli/fixFindAllRefForSalsa
Fix find all references for salsa
2016-01-28 11:44:47 -08:00
Ryan Cavanaugh 2688dbd495 Merge pull request #6698 from RyanCavanaugh/fix6552
Recognize the RHS of assignments as the JSDoc target expression
2016-01-28 11:40:27 -08:00
Ryan Cavanaugh da6e82f639 Use union types in the return type of functions in the error case
Fixes #6663
2016-01-28 11:39:19 -08:00
zhengbli bf897c2939 Add more tests and comments 2016-01-28 11:26:32 -08:00
Ryan Cavanaugh 364b08854b Recognize the RHS of assignments as the JSDoc target expression
Fixes #6552
2016-01-28 11:02:49 -08:00
Anders Hejlsberg fbf1477970 Merge pull request #6697 from Microsoft/readonlyInDeclarationFiles
Readonly in declaration files
2016-01-28 10:57:38 -08:00
Anders Hejlsberg 371811ab5b Adding test 2016-01-28 10:40:08 -08:00
Anders Hejlsberg 3019017093 Emit readonly in declaration files 2016-01-28 10:39:54 -08:00
Vladimir Matveev 0981719bed Merge pull request #6683 from Microsoft/strip_quotes_in_modules_names
strip quotes from module names during deduplication
2016-01-27 20:05:32 -08:00
Mohamed Hegazy c353252c8e Update authors for release 1.8 2016-01-27 19:51:43 -08:00
Vladimir Matveev 5b68d6559a strip quotes from module names during deduplication 2016-01-27 15:34:53 -08:00
zhengbli 5ced4c401f Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixFindAllRefForSalsa 2016-01-27 15:20:16 -08:00
Ron Buckton 6648403a8e Updated test baselines 2016-01-27 14:31:21 -08:00
zhengbli 646e46e022 Fix build error 2016-01-27 13:38:42 -08:00
zhengbli 10f9a85730 Merge branch 'master' of https://github.com/Microsoft/TypeScript into fixFindAllRefForSalsa 2016-01-27 13:31:19 -08:00
zhengbli 9a6815f3c7 add tests 2016-01-27 13:26:41 -08:00
zhengbli b389e9c619 Fix for thisProperty 2016-01-27 12:43:31 -08:00
Ron Buckton a6af98e100 Merge pull request #6631 from Microsoft/reservePromiseInTopLevelModule
Reserve promise in top level module
2016-01-27 12:25:57 -08:00
Vladimir Matveev f23c35f04d Merge pull request #5728 from Microsoft/pathMappingModuleResolution
Path mapping module resolution
2016-01-27 11:38:33 -08:00
Vladimir Matveev 2b22a47cbb Merge pull request #6553 from Microsoft/handleNestedBlockScopedName
handle block scoped binding in nested blocks
2016-01-27 11:28:59 -08:00
Anders Hejlsberg 98603f9f49 Merge pull request #6532 from Microsoft/readonlyMembers
Readonly properties and index signatures
2016-01-27 10:50:26 -08:00
Vladimir Matveev e67ff39e17 merge with origin/master 2016-01-27 10:40:52 -08:00
Anders Hejlsberg cbb195b047 Renumbering NodeFlags to start at 1 << 0 2016-01-27 10:25:51 -08:00
Vladimir Matveev fd879bb268 Merge pull request #6655 from Microsoft/pin_mocha_2.3.4
pin mocha version to 2.3.4
2016-01-27 10:10:23 -08:00
Vladimir Matveev 5282cad100 pin mocha version to 2.3.4 2016-01-27 09:56:20 -08:00
Vladimir Matveev adacad326a addressed PR feedback 2016-01-26 21:38:12 -08:00
Ron Buckton e4c0c00287 Fixed typo in diagnostic message name 2016-01-26 17:34:30 -08:00
zhengbli e4ab2db9fb Fix find all references for salsa 2016-01-26 16:39:43 -08:00
Ron Buckton 655d5c934c Comments and messages 2016-01-26 16:04:40 -08:00
Yui 265069e296 Merge pull request #6194 from Microsoft/fix4867_transpiling
Fix incorrectly emitting underscore of imported property
2016-01-26 16:04:09 -08:00
Kanchalai Tanglertsampan bc2599083c Merge branch 'master' into fix4867_transpiling 2016-01-26 15:37:49 -08:00
Vladimir Matveev 322126d106 Merge pull request #6628 from Microsoft/thisTypeAsConstraint
break on 'this' type in hasConstraintReferenceTo
2016-01-26 14:58:35 -08:00
Ron Buckton c20a70529e Updated baselines 2016-01-26 14:51:07 -08:00
Ron Buckton 2b1fd8c419 Merge pull request #5870 from Microsoft/alternateFixSuperInAsyncMethod
Fix super in async method
2016-01-26 13:04:06 -08:00
Ron Buckton 05803f5285 Added comments for new flags in types.ts 2016-01-26 12:55:03 -08:00
Ron Buckton 35044d1293 Added error when return type is not the global Promise 2016-01-26 12:47:53 -08:00
Ron Buckton 95422fa595 merge branch 'alternateFixSuperInAsyncMethod' into reservePromiseInTopLevelModule 2016-01-26 12:26:49 -08:00
Ron Buckton da6aadbea8 Merge branch 'master' into alternateFixSuperInAsyncMethod 2016-01-26 11:49:30 -08:00
Ron Buckton b00cae87b3 Moved isSuperPropertyOrElementAccess to utilities 2016-01-26 11:36:20 -08:00
Vladimir Matveev 910fbba156 break on 'this' type in hasConstraintReferenceTo 2016-01-26 10:16:46 -08:00
Mohamed Hegazy f70e255fa0 Merge pull request #6618 from Microsoft/versionUpdate
Update version
2016-01-25 21:28:30 -08:00
Ron Buckton 3e0c84e43b PR feedback 2016-01-25 17:44:07 -08:00
Mohamed Hegazy add91052bb Update version 2016-01-25 17:08:15 -08:00
Ryan Cavanaugh 6febe3b503 Merge pull request #6562 from RyanCavanaugh/jsIsJsx
Treat .js as JSX
2016-01-25 16:15:52 -08:00
Mohamed Hegazy 85d09e4a9d Merge pull request #6512 from masaeedu/allowMissingReturnForVoidAnyUnion
Allow missing return for void any union
2016-01-25 15:12:40 -08:00
Daniel Rosenwasser 6ff1bbee4c Merge pull request #6597 from plantain-00/use_const_rather_than_var_when_target_es6
Use const rather than var when target es6
2016-01-25 14:14:05 -08:00