5263 Commits

Author SHA1 Message Date
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
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
Cyrus Najmabadi
b5b9f517ce Include symbol information in the typewriter baselines. 2015-04-13 13:54:22 -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
Mohamed Hegazy
b416bf2d80 move check outside switch statement 2015-04-13 12:20:25 -07:00
Guillaume Salles
7119165bd0 Fix issue #2677 : Labels should not get quick info 2015-04-12 16:04:32 -04:00
Yui
96995e705a Merge pull request #2684 from Microsoft/migrateStrictModeCheck
Migrate strict mode check
2015-04-11 21:59:12 -07:00
Yui T
63a2359d1a Merge branch 'master' into migrateStrictModeCheck 2015-04-11 21:02:56 -07:00
Yui T
a01bdcfab3 Address code review 2015-04-11 20:58:42 -07:00
Yui T
65b8792be7 Organize test cases for strict mode 2015-04-11 12:15:47 -07:00
Yui T
3c2196bf54 Address code review 2015-04-11 12:15:22 -07:00
CyrusNajmabadi
1c7d8a2e21 Merge pull request #2706 from Microsoft/emitYieldStart
Emit generator functions and yield expressions in ES6.
2015-04-11 02:40:42 -07:00
SaschaNaz
5543f646a0 formattingOnChainedCallbacks (passing) 2015-04-11 12:11:28 +09:00
Yui T
a60cf02715 Address CR 2015-04-10 19:00:31 -07:00
Yui T
fe7a3a5d02 Address CR 2015-04-10 18:52:37 -07:00
Ron Buckton
28b5217169 Merge pull request #2718 from Microsoft/fixEmitDecorate
Fix for __decorate emit on undecorated file following a decorated file
2015-04-10 18:23:52 -07:00
Mohamed Hegazy
5f5cdda877 Merge pull request #2692 from Microsoft/APIReviewCleanup
Api review cleanup
2015-04-10 18:09:53 -07:00
Mohamed Hegazy
6f1feffe67 Update LKG 2015-04-10 17:16:59 -07:00
Mohamed Hegazy
13ef271831 use @internal comment consistenlly 2015-04-10 16:32:02 -07:00
Yui T
8448ba7b13 Allow IdentifierName in memberExpression 2015-04-10 16:22:09 -07:00
Mohamed Hegazy
431dce7b84 Merge branch 'master' into APIReviewCleanup
Conflicts:
	src/services/outliningElementsCollector.ts
2015-04-10 16:11:03 -07:00
Ron Buckton
d87e80b65b Added baselines 2015-04-10 16:04:35 -07:00
Ron Buckton
cd6bfb169f Fix for __decorate emit on undecorated file following a decorated file 2015-04-10 15:38:10 -07:00
Mohamed Hegazy
f231d6aba8 Merge pull request #2700 from Microsoft/removeOptionalTypeOnExportDefault
Remove optional type on export default
2015-04-10 15:31:31 -07:00
Yui T
bf60eabdbb Update tests cases 2015-04-10 14:24:10 -07:00
Yui T
5bab826c6b Address issue with propertyAccessExpression and QualifiedName in TypeReference 2015-04-10 14:23:54 -07:00
Cyrus Najmabadi
9e56c61542 Don't report errors for empty generator functions with type annotations. 2015-04-10 13:47:08 -07:00
Ron Buckton
6121730875 Merge pull request #2680 from Microsoft/fixArrowBindingPattern
Add support for parsing binding patterns in arrow function parameters
2015-04-10 11:38:18 -07:00
Ron Buckton
15df45d813 Update baselines due to changes in master 2015-04-10 11:09:24 -07:00
Ron Buckton
042b96592a Merge branch 'master' into fixArrowBindingPattern 2015-04-10 09:54:13 -07:00
Ron Buckton
02d88f2968 Simpler lookahead, let the tryParse do the hard work 2015-04-10 09:53:21 -07:00
SaschaNaz
0c95b0db43 formattingOnChainedCallbacks 2015-04-10 23:00:50 +09:00
Daniel Rosenwasser
ad477c7fc9 Merge pull request #2691 from Microsoft/isRegExpWeHardlyKnewYe
Remove 'Symbol.isRegExp' and introduce 'RegExp.prototype.flags'
2015-04-10 01:51:59 -07:00
Cyrus Najmabadi
f777011fc0 Emit generator functions and yield expressions in ES6. 2015-04-09 22:57:13 -07:00