Commit Graph
2485 Commits
Author SHA1 Message Date
unknown bda1f59d7b Include property in union type only if all underlying properties are public 2015-04-16 14:39:02 -07:00
unknown 9a2846ef72 Addressing CR feedback 2015-04-14 14:51:08 -07:00
unknown 7393898076 Merge branch 'master' into reducedUnionTypes 2015-04-14 14:03:05 -07:00
unknown 56e0fb0b35 Addressing CR feedback 2015-04-14 10:01:11 -07:00
Mohamed Hegazy fe75002450 Fix #2724: ensure checkIteratedTypeOrElementType returns a type 2015-04-13 19:41:29 -07:00
Cyrus Najmabadi 20961cdbd7 Insert @internal when we generate diagnostic messages. 2015-04-13 15:55:56 -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
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
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
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 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
Cyrus Najmabadi f777011fc0 Emit generator functions and yield expressions in ES6. 2015-04-09 22:57:13 -07:00
Ron Buckton 9636142733 Comment cleanup 2015-04-09 17:47:56 -07:00
Ron Buckton 19695f9bca Simplified lookahead and added ES6 test cases 2015-04-09 17:45:45 -07:00
Ron Buckton f318515f70 Merge pull request #2664 from Microsoft/fixDecoratorFormatting
Fixes some formatting for decorators
2015-04-09 17:42:56 -07:00
ahmad-farid 01d945b18b Merge pull request #2612 from ahmad-farid/OCNoTest2
Adding outlining for comments to allow collapsing in VS #698
2015-04-09 17:35:25 -07:00
Daniel Rosenwasser 6493980f64 Merge pull request #2701 from Microsoft/superAnnoyingEmitInEs6Classes
Don't emit '_this' when encountering 'super' in ES6 emit
2015-04-09 17:24:40 -07:00
Ahmad Farid 86e5773c65 Merging 2015-04-09 17:06:25 -07:00
Yui T 33d6a81a35 update property in Identifier 2015-04-09 16:50:43 -07:00
Mohamed Hegazy a5a83c1cf7 Merge branch 'master' into removeOptionalTypeOnExportDefault 2015-04-09 16:35:14 -07:00
Mohamed Hegazy dc4d8c8d1f Emit temp var declaration for 'export default <expression>' in declaration emit 2015-04-09 16:34:16 -07:00
Mohamed Hegazy afe35c810a Revert "Support an optional type annotation on export default statement"
This reverts commit a6a8a96249.
2015-04-09 16:32:23 -07:00
Daniel Rosenwasser fb8cc0c40a Don't emit '_this' declaration in ES6 or later. 2015-04-09 16:29:38 -07:00
Ahmad Farid a34801f30b merging with master 2015-04-09 16:05:06 -07:00
Yui T 8adac94896 Better recovery when running into modifier 2015-04-09 15:59:37 -07:00
Yui T 8771212d58 Remove incorrect check of module declartion 2015-04-09 15:58:56 -07:00
Yui T e91ef844ed Address code review; better error recovering 2015-04-09 14:49:47 -07:00
Yui T 4b7d2f2411 Address code review 2015-04-09 14:46:02 -07:00
Mohamed Hegazy f6eb66b572 Merge branch 'master' into decoratorsLS 2015-04-09 14:31:55 -07:00
Mohamed Hegazy 97a4c24ad9 Expose parseCommandLine 2015-04-09 14:18:59 -07:00
Mohamed Hegazy e30f0d4ae6 Make version const 2015-04-09 14:18:43 -07:00
Mohamed Hegazy 9fdeffeb08 Fix formatting and parameter names 2015-04-09 14:18:32 -07:00
Mohamed Hegazy 1c91c2c5d0 Mark non-public API surface with the /* @internal */ comment 2015-04-09 14:18:14 -07:00
Johannes RiekenandMohamed Hegazy 55d6e10687 support URI patterns 2015-04-09 11:58:47 -07:00
Yui T 1246dca703 Add comment 2015-04-08 23:54:42 -07:00
Yui T 3a7384a95e Update error code 2015-04-08 23:39:54 -07:00
Yui T 111a297584 Check for import, import equal, module 2015-04-08 22:07:12 -07:00