Commit Graph

26317 Commits

Author SHA1 Message Date
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
Cyrus Najmabadi 20961cdbd7 Insert @internal when we generate diagnostic messages. 2015-04-13 15:55:56 -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
Vladimir Matveev 5d2897d67f export imported aliases 2015-04-13 13:00:00 -07:00
Cyrus Najmabadi 592e2314d4 Simplify typewriter code. 2015-04-13 12:36:11 -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
Vladimir Matveev 0c84acd8ef add missing closing paren in emitted code 2015-04-13 12:14:32 -07:00
Vladimir Matveev 3e7d6a06f2 code cleanup 2015-04-13 12:11:32 -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
Cyrus Najmabadi 4e0c26347f Use const. 2015-04-12 22:47:25 -07:00
Zhengbo Li 1dacb54fbd Updated dom files and removed some IE only types
Updated the dom files according to new IE spec. Remove part of the IE
only types in "extensions.d.ts" that are not used in the new spec.
2015-04-12 18:14:58 -07:00
Cyrus Najmabadi 362320dc45 Use a singleton parser as well. 2015-04-12 14:25:19 -07:00
Cyrus Najmabadi 61951e5d94 Use a single scanner for all parsing tasks. 2015-04-12 14:02:58 -07:00
Guillaume Salles 7119165bd0 Fix issue #2677 : Labels should not get quick info 2015-04-12 16:04:32 -04:00
Mohamed Hegazy b6bb4ff67f expose text span helpers 2015-04-12 12:30:17 -07:00
Mohamed Hegazy 27c1bb8ca5 Expose getDefaultLibFileName 2015-04-12 12:12:55 -07:00
Anders Hejlsberg e4b7cf9882 Merge branch 'master' into reducedUnionTypes
Conflicts:
	src/compiler/types.ts
	tests/baselines/reference/APISample_compile.js
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.js
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.js
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.js
	tests/baselines/reference/APISample_watcher.types
2015-04-12 11:08:03 -07:00
Anders Hejlsberg e8ee500539 Consistently reduce union types in property access 2015-04-12 10:35:57 -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
Vladimir Matveev 1781ce1bd8 Merge remote-tracking branch 'origin/master' into systemModule 2015-04-11 12:31:52 -07:00
Yui T 3c2196bf54 Address code review 2015-04-11 12:15:22 -07:00
Vladimir Matveev e2ba13eb17 do not emit original variable statement if it was hoisted and all variable declarations are non-initialized 2015-04-11 08:23:25 -07:00
Vladimir Matveev a281cad492 hoist source level module declarations 2015-04-11 06:33:09 -07:00
Vladimir Matveev 442addecf5 hoist source level class declarations, fix error message 2015-04-11 06:14:19 -07:00
Vladimir Matveev 8c80792fe2 emit publish of exported values in destructuring 2015-04-11 04:58:39 -07:00
Vladimir Matveev 7bced68210 emit publish of exported values in prefix/postfix unary expressions 2015-04-11 03:59:03 -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
Vladimir Matveev 7102b1d76a emit publish of exported values in assignment expressions 2015-04-10 20:29:20 -07: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 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 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