9299 Commits

Author SHA1 Message Date
Ryan Cavanaugh
fcd00a59d2 Simplified JS prototype class inference 2015-12-04 14:58:32 -08:00
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
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
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
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
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
Sheetal Nandi
da8557d672 Reachability errors 2015-12-02 12:49:53 -08:00
Sheetal Nandi
469b7fdcbb Strict mode errors 2015-12-02 12:35:34 -08:00
Sheetal Nandi
234527093a Multiple default exports error. 2015-12-02 12:00:53 -08:00
Sheetal Nandi
6116cc9c59 Duplicate symbol error 2015-12-02 11:59:53 -08:00
Sheetal Nandi
086d3945eb Merge branch 'master' into jsBinderErrors 2015-12-02 11:36:11 -08:00
Anders Hejlsberg
561360d550 Adding regression test 2015-12-02 10:23:49 -08:00
Anders Hejlsberg
181c10a78f Ensure that different type parameters are never considered identical 2015-12-02 10:23:28 -08:00
Wesley Wigham
90391fed41 Merge pull request #5881 from weswigham/rootdir-module-names
Respect root dir/common src dir when generating module names
2015-12-01 23:32:22 -08:00
Wesley Wigham
81e012f90f dont canonicalize the filename when generating names, just use the absolute path 2015-12-01 18:53:54 -08:00
Yui T
ace383d342 add tests 2015-12-01 18:39:02 -08:00
Wesley Wigham
951a77f7bd respect root dir/common src dir when generating module names 2015-12-01 17:34:40 -08:00
Mohamed Hegazy
19d7e629da Merge pull request #5852 from holtwick/feature/await_for_es5
Enable await in ES5 and ES2015 script mode
2015-12-01 17:08:09 -08:00
Wesley Wigham
e134169590 Merge pull request #5875 from weswigham/no-in-rule
lint rule forbidding the in keyword binary expression
2015-12-01 15:36:51 -08:00
Wesley Wigham
db4cc982ab Merge pull request #5874 from weswigham/lint-all-things
lint all files before reporting a failure
2015-12-01 15:26:56 -08:00
Wesley Wigham
3085806fc2 lint rule forbidding the in keyword binary expression 2015-12-01 15:14:24 -08:00
Ryan Cavanaugh
c4b0b62bfc Merge fixup 2015-12-01 15:06:53 -08:00
Wesley Wigham
592d41c9cc lint all filed before a failure 2015-12-01 15:05:08 -08:00
Ron Buckton
7d920c2aad Merge pull request #5841 from Microsoft/fixAsyncReferencedImport
Fixes #5789.
2015-12-01 15:04:10 -08:00
Ryan Cavanaugh
bc92e4e9b0 Merge pull request #5596 from RyanCavanaugh/statelessFunctionComponents
Stateless function components in JSX
2015-12-01 14:51:18 -08:00
Ron Buckton
316ab1e749 Additional tests 2015-12-01 14:48:53 -08:00
Wesley Wigham
0464138c84 Merge pull request #5866 from weswigham/unnamed-default-exports
Fix #5844 - add many new tests covering named/anonymous default exports
2015-12-01 14:36:02 -08:00
Sheetal Nandi
0c8aa41b26 Merge pull request #5835 from Microsoft/noEmit
Do not emit files if noEmit is specified
2015-12-01 14:34:28 -08:00
Ryan Cavanaugh
c3b59d156f Merge branch 'master' into javaScriptPrototypes
# Conflicts:
#	src/compiler/binder.ts
#	src/compiler/checker.ts
#	src/harness/fourslash.ts
2015-12-01 14:34:15 -08:00
Ryan Cavanaugh
783f65c6d9 Baseline update 2015-12-01 14:22:07 -08:00
Ryan Cavanaugh
bafe053925 Merge branch 'master' into statelessFunctionComponents 2015-12-01 14:21:33 -08:00