Commit graph

9704 commits

Author SHA1 Message Date
Ryan Cavanaugh
6bb62d6daf Merge remote-tracking branch 'upstream/master' into javaScriptPrototypes 2015-12-04 14:12:01 -08:00
Ryan Cavanaugh
fabc43d0d4 JS Prototypes WIP 2015-12-04 14:11:56 -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
vladima
0130c23028 Merge remote-tracking branch 'origin/master' into pathMappingModuleResolution 2015-12-03 22:49:55 -08: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
Wesley Wigham
b9f310d4f2 first pass at this type predicate members 2015-12-03 18:21:36 -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
Wesley Wigham
d51dd84f6c remove unneeded cast 2015-12-03 14:18:44 -08:00
Wesley Wigham
cfe2cc3608 utilize type guard on type guard logic more 2015-12-03 14:10:22 -08:00
Wesley Wigham
d7208e81d6 feedback from pr 2015-12-03 13:46:37 -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
Mohamed Hegazy
4137a103d8 Fix typo in the spec 2015-12-02 22:05:11 -08:00
Wesley Wigham
b14b7e9172 Merge pull request #5909 from Microsoft/patch-stringify
Use typeof to check for presence of `JSON` global
2015-12-02 21:19:24 -08:00
Wesley Wigham
2ba085127b Merge pull request #5908 from weswigham/esmodule-flag-es6
Fix esmodule bug, unify export emit between es6/pre-es6
2015-12-02 21:07:27 -08:00
Wesley Wigham
a5a6c10322 use typeof to check for presence of JSON global 2015-12-02 21:06:32 -08:00
Wesley Wigham
83e61cfa68 fix esmodule big, unify export emit between es6/pre-es6 2015-12-02 20:50:24 -08:00
Wesley Wigham
859cc53c11 Add tests, remove internal annotation form enum 2015-12-02 19:49:43 -08:00
Wesley Wigham
c4cff9833d first pass at this type predicates 2015-12-02 18:35:49 -08:00
SaschaNaz
83eb6acd13 Merge remote-tracking branch 'refs/remotes/Microsoft/master' into indentSuppressor 2015-12-03 11:27:14 +09:00
Nathan Shively-Sanders
a4770afc69 Merge pull request #5777 from Microsoft/elaborate-interface-signature-errors
Elaborate interface signature errors
2015-12-02 15:54:07 -08:00
Anders Hejlsberg
86d4a4c11f Adding test to demonstrate limits of signature identity checking 2015-12-02 15:42:25 -08:00
Anders Hejlsberg
3e6d40f3fe Removing comment from test 2015-12-02 15:41:37 -08:00
Nathan Shively-Sanders
4338dcb308 Add comment for use of isPrimitiveApparentType 2015-12-02 15:26:10 -08:00
Nathan Shively-Sanders
c82fe86315 Remove apparent type of primitives from errors
And accept baselines
2015-12-02 15:16:04 -08:00
Yui
f7303cdcf1 Merge pull request #5899 from Microsoft/fix4616_addtests
Add tests for quickinfo in type parameter inside type alias
2015-12-02 14:34:05 -08:00
Sheetal Nandi
4fcb53b253 Strict mode errors 2015-12-02 14:00:34 -08:00
Yui T
58a83f1e45 Fix linter error 2015-12-02 13:57:10 -08:00
Yui T
f83817a488 remove line and unused code 2015-12-02 13:47:19 -08:00
Yui T
135e091c2a Add more tests 2015-12-02 13:45:52 -08:00