9363 Commits

Author SHA1 Message Date
Daniel Rosenwasser
5ef8a30642 Accepted baselines. 2015-12-08 14:34:20 -08:00
Daniel Rosenwasser
2cc6c4cc28 Fixed test to explicitly have return type annotation. 2015-12-08 14:28:35 -08:00
Daniel Rosenwasser
b4f4dadeb6 Merge pull request #5979 from DanCorder/5058
Fix for #5058 - Exclude implemented interface functions from autocompletion suggestions.
2015-12-07 15:06:53 -08:00
Dan Corder
c6feaa016a Remove unnecessary I2 from test case 2015-12-07 22:43:44 +00:00
Ryan Cavanaugh
7c1ef22cff Merge pull request #5974 from RyanCavanaugh/fix5955
Identify JSX closing tags as identifiers so they emit correctly
2015-12-07 12:40:39 -08:00
Ryan Cavanaugh
05c17032a9 Actually include the fix.... 2015-12-07 11:57:54 -08:00
Dan Corder
ff4147af01 Fix for #5058 - Exclude implemented interface functions from autocompletion suggestions. 2015-12-07 19:47:56 +00:00
Ryan Cavanaugh
04f8c32d32 Identify JSX closing tags as identifiers so they emit correctly
Fixes bug #5955
2015-12-07 11:07:37 -08:00
Nathan Shively-Sanders
31f56fdbfd Merge pull request #5973 from Microsoft/improve-type-of-Promise.all
Explicitly list tuple overloads for `Promise.all`.
2015-12-07 10:19:57 -08:00
Mohamed Hegazy
a405afd40c Merge pull request #5971 from pimterry/typings-non-string
Gracefully handle errors where 'typings' is not a string (fixes #4828)
2015-12-07 10:03:22 -08:00
Nathan Shively-Sanders
3bf39d6df1 Explicitly list tuple overloads for Promise.all.
Previously, the array type would infer a union type for multiple arguments
of differing types. The original overload remains, but I added 9
tuple-based overloads to support up to 10 heterogeneously-typed arguments.
2015-12-07 09:51:00 -08:00
Mohamed Hegazy
37c883d6e8 Merge pull request #5970 from DanCorder/5497
Fix for issue #5947
2015-12-07 09:37:15 -08:00
Tim Perry
384ee18c7b Gracefully handle errors where 'typings' is not a string (fixes #4828) 2015-12-07 18:25:25 +01:00
Dan Corder
57c595a49d Fix for issue #5947 2015-12-07 16:26:53 +00:00
Daniel Rosenwasser
2ef436f082 Merge pull request #5559 from MartyIX/issue-4045
Improve error messages for property declarations
2015-12-07 01:12:05 -08:00
Anders Hejlsberg
3ce91c438a Merge pull request #5942 from Microsoft/fixUnionToUnionTypeInference
Fix union/union or intersection/intersection type inference
2015-12-05 09:28:18 -08:00
Anders Hejlsberg
6901a98c85 Adding a bit more text to comments 2015-12-05 08:53:21 -08:00
Wesley Wigham
4735c00f05 Merge pull request #5420 from weswigham/undefined-unique
Error on redeclarations of undefined
2015-12-04 17:43:12 -08:00
Anders Hejlsberg
ae9d93b41a Adding test 2015-12-04 16:05:01 -08:00
Anders Hejlsberg
e6259a5570 Fix union/union and intersection/intersection type inference 2015-12-04 16:04:47 -08:00
Wesley Wigham
cb4a40867e add baselines 2015-12-04 15:44:35 -08:00
Wesley Wigham
00576527bd break down tests, make more clear whats doing done, remove specific logic from mergeSymbolTable 2015-12-04 15:41:11 -08:00
Nathan Shively-Sanders
b1fac590c3 Merge pull request #5934 from Microsoft/inherit-construct-signature-from-extended-interface
Inherit construct signature from extended interface
2015-12-04 14:23:07 -08:00
Wesley Wigham
63fef5083a Merge branch 'master' into undefined-unique 2015-12-04 14:21:35 -08:00
Wesley Wigham
9b441d8343 Merge pull request #5148 from weswigham/duplicate-export-behavior
Make export var or export *'s with duplicate identifiers an error
2015-12-04 14:18:58 -08:00
Wesley Wigham
209ec681b0 Merge pull request #5939 from weswigham/use-strict-shebang
Fix #5928 - Write line after shebang
2015-12-04 13:57:18 -08:00
Wesley Wigham
835950a674 check for presence of array 2015-12-04 13:44:16 -08:00
Vladimir Matveev
0348fd4d4b Merge pull request #5937 from Microsoft/missingSemicolonInModuleSpecifier
parse module specifier as string
2015-12-04 13:43:59 -08:00
Wesley Wigham
bc73f31acc Fix #5928 - Write line after shebang 2015-12-04 13:38:24 -08:00
Wesley Wigham
98fd75d84e fix typo, reduce nesting, defer array allocation until needed 2015-12-04 13:09:11 -08:00
Vladimir Matveev
e88dfb151a parse module specifier as string (old logic is kept for better error recovery) 2015-12-04 11:41:11 -08:00
Nathan Shively-Sanders
e2b6898018 remove lint 2015-12-04 09:07:32 -08:00
Nathan Shively-Sanders
c94d534748 Accept new baseline
In recursiveBaseConstructorCreator3, the error message has improved to
match the originally intended error.
2015-12-04 09:00:32 -08:00
Nathan Shively-Sanders
b8af5248b5 Simplify check for constructors 2015-12-04 09:00:04 -08:00
Nathan Shively-Sanders
ae559a7ccf Add test and accept baselines 2015-12-04 08:24:17 -08:00
Nathan Shively-Sanders
80453021af Inherit construct signature for extended interface 2015-12-04 08:23:26 -08:00
Martin Všetička
f15fe5b335 Improved error messages for property declarations 2015-12-04 09:20:49 +01:00
Yui
3a4ac33240 Merge pull request #5898 from Microsoft/fix3475_let
Disallow let in let/const declaration regardless of target
2015-12-03 22:27:33 -08:00
Paul van Brenk
2799d2e561 Merge pull request #5880 from Microsoft/supportChakra
Add support for Chakra Host in sys.
2015-12-03 20:59:08 -08:00
Anders Hejlsberg
ee9c4dcafa Merge pull request #5920 from Microsoft/fixUnionTypeInference
Fix slowdown in type inference involving union types
2015-12-03 17:11:08 -08:00
Anders Hejlsberg
c839dd3e9f Only infer *to* type references that have explicit type arguments 2015-12-03 16:34:44 -08:00
Sheetal Nandi
0ab538f5d0 Merge pull request #5839 from Microsoft/jsBinderErrors
Report binder diagnostics, program diagnostics as well as file pre processing diagnostics in javascript file
2015-12-03 15:45:06 -08:00
Yui T
0784ea169f Check for lenght of declaration instead 2015-12-03 13:17:57 -08:00
Anders Hejlsberg
3bb5dc6686 Merge pull request #5895 from Microsoft/unionTypeParameterInference
Fix union type parameter inference
2015-12-03 12:23:46 -08:00
Daniel Rosenwasser
4c9575ac0c Update CONTRIBUTING.md
Removed inline triple backticks.
2015-12-03 11:29:13 -08:00
Daniel Rosenwasser
8f9a23088c Update README.md 2015-12-03 11:28:06 -08:00
Daniel Rosenwasser
74934c3bfa Update README.md
"Flushes" is a pretty unappealing word.
2015-12-03 11:27:14 -08:00
Mohamed Hegazy
3edc9c9539 Merge pull request #5912 from sparecycles/fix-contributing-instructions
fix instructions for contributing to lib.d.ts
2015-12-03 10:41:54 -08:00
Adam Freidin
f8d2a03630 clarify documentation 2015-12-03 10:41:02 -08:00
Adam Freidin
20cce6ebd3 fix instructions for contributing to lib.d.ts 2015-12-03 09:23:46 -08:00