Commit graph

5410 commits

Author SHA1 Message Date
Jason Freeman cb9954bd20 The element/iterated type of any is any 2015-04-14 17:12:53 -07:00
Yui T a15fcf662b Add test for askeyword 2015-04-14 17:00:50 -07:00
Yui 2861fc2869 Merge pull request #2765 from Microsoft/moveAsKeywordOutFromStrict
Move asKeyword into correct section
2015-04-14 16:20:15 -07:00
Yui T 4783d9f252 Move asKeyword into correct section 2015-04-14 16:05:03 -07:00
Anders Hejlsberg 6d36dd5296 Merge pull request #2729 from Microsoft/reducedUnionTypes
Consistently reduce union types
2015-04-14 15:24:49 -07:00
Mohamed Hegazy e7895c59d4 Move commonSourceDirectory computation to its own function 2015-04-14 15:05:08 -07:00
CyrusNajmabadi d1bd164c0a Merge pull request #2641 from Microsoft/jsSigHelp
Give signature help for arbitrary functions called in .js files (even off of <dot>).
2015-04-14 15:00:35 -07:00
unknown 9a2846ef72 Addressing CR feedback 2015-04-14 14:51:08 -07:00
Cyrus Najmabadi 8e757c044e Merge branch 'master' into jsSigHelp
Conflicts:
	src/services/outliningElementsCollector.ts
	src/services/services.ts
2015-04-14 14:22:48 -07:00
unknown f33acf8ba4 Accepting new baselines 2015-04-14 14:18:57 -07:00
unknown 7393898076 Merge branch 'master' into reducedUnionTypes 2015-04-14 14:03:05 -07:00
Jason Freeman 8f57867601 Merge branch 'master' of https://github.com/Microsoft/TypeScript into destructuringFixes 2015-04-14 12:58:50 -07:00
Mohamed Hegazy db492f1c10 Merge pull request #2747 from Microsoft/FixGetOccurances
Fix getOccurances filter check
2015-04-14 10:33:03 -07:00
Mohamed Hegazy fe50957240 Merge pull request #2756 from Microsoft/completionFixes
Completion fixes
2015-04-14 10:18:05 -07:00
unknown 6ff6bb192b Merge branch 'master' into reducedUnionTypes 2015-04-14 10:09:47 -07:00
unknown 56e0fb0b35 Addressing CR feedback 2015-04-14 10:01:11 -07:00
steveluc cca29a5738 Merge branch 'master' of https://github.com/Microsoft/TypeScript 2015-04-13 20:07:39 -07:00
steveluc b35fea8e9e Eliminate HUGE (>10X) performance regression on session.ts dispatch that
was causing major lag for Sublime plug-in.  Backs out destructuring
dispatch change in session.ts
2015-04-13 19:59:02 -07:00
Mohamed Hegazy fe75002450 Fix #2724: ensure checkIteratedTypeOrElementType returns a type 2015-04-13 19:41:29 -07:00
Jason Freeman 25fafd3096 Update baselines after rebase 2015-04-13 17:34:02 -07:00
Jason Freeman 15e39f72ea Change parenthesizeForAccess to check isLeftHandSideExpression 2015-04-13 17:29:42 -07:00
Jason Freeman 66b50a1d62 Simplify handling of rest parameters with binding patterns in the checker 2015-04-13 17:29:39 -07:00
Jason Freeman 70c06ce8c6 Fix crash in emitter on rest parameters with binding patterns 2015-04-13 17:29:35 -07:00
Jason Freeman 2b83dfbf40 Properly emit nested destructuring in rest elements (fixes #2587) 2015-04-13 17:29:32 -07:00
Jason Freeman 051aa39f0d Some cleanup in emitDestructuring 2015-04-13 17:29:28 -07:00
Jason Freeman 1ec6164293 Remove unnecessary parameter to emitDestructuring 2015-04-13 17:29:25 -07:00
Jason Freeman 2b21cd9825 Disallow initializers in assignment rest elements 2015-04-13 17:29:21 -07:00
Jason Freeman e6ffb33adf Fix crash in rest element destructuring 2015-04-13 17:29:18 -07:00
Jason Freeman 5bfbcdcd25 Assignment rest element pretends to get the contextual element type 2015-04-13 17:29:14 -07:00
Jason Freeman f84ebba852 Rest assignment element allows nested destructuring (fixes #2156) 2015-04-13 17:29:11 -07:00
Jason Freeman e9f5acce75 Disallow binding patterns in rest parameters 2015-04-13 17:29:07 -07:00
Jason Freeman 2d3b22cbba Disallow binding patterns in binding rest elements (fixes #2519) 2015-04-13 17:21:19 -07:00
Mohamed Hegazy 4e42054277 Fix #2725: Add check for parent before using it 2015-04-13 16:28:06 -07:00
CyrusNajmabadi 6637f49209 Merge pull request #2745 from Microsoft/typeWriter
Simplify typewriter code.
2015-04-13 16:20:37 -07:00
Cyrus Najmabadi 20961cdbd7 Insert @internal when we generate diagnostic messages. 2015-04-13 15:55:56 -07:00
Mohamed Hegazy f77776200c Merge pull request #2711 from SaschaNaz/formatChainedCallbacks
Formatting test for callback function chaining
2015-04-13 15:44:12 -07:00
Cyrus Najmabadi 29f3f6fcae Merge branch 'master' into typeWriter 2015-04-13 14:29:37 -07:00
Ron Buckton 1c9e9e0f19 Elide var when emitting a module merged with an ES6 class 2015-04-13 13:57:26 -07:00
Cyrus Najmabadi b5b9f517ce Include symbol information in the typewriter baselines. 2015-04-13 13:54:22 -07:00
Mohamed Hegazy a72a22edbe Fix getOccurances filter check 2015-04-13 13:19:17 -07:00
Cyrus Najmabadi 592e2314d4 Simplify typewriter code. 2015-04-13 12:36:11 -07:00
Mohamed Hegazy c767e0f88a Merge branch 'GuillaumeSalles-master' 2015-04-13 12:20:49 -07:00
Zev Spitz 9ec046bf9c Formatting 2015-04-13 22:20:37 +03:00
Mohamed Hegazy b416bf2d80 move check outside switch statement 2015-04-13 12:20:25 -07:00
Zev Spitz 77afd9468c More newlines 2015-04-13 21:41:01 +03:00
Zev Spitz b7bcdde18c Fixed jsDoc, wrapping, newlines 2015-04-13 21:35:59 +03:00
Zev Spitz 522c71a752 Ebynerator, VBArray 2015-04-13 16:23:31 +03:00
Zev Spitz 1df368450c Merge pull request #6 from Microsoft/master
Sync
2015-04-13 14:14:09 +03:00
Cyrus Najmabadi 4e0c26347f Use const. 2015-04-12 22:47:25 -07:00
Zhengbo Li d539e05650 Removed local gitignore change 2015-04-12 18:18:59 -07:00