Commit Graph
610 Commits
Author SHA1 Message Date
Jason Freeman 4487fa426b Rename iterator property of ForStatement to incrementor 2015-04-22 13:29:50 -07:00
Mohamed Hegazy ed2e105f17 Merge branch 'master' into rootDir 2015-04-20 14:23:40 -07:00
Mohamed Hegazy 021f309151 Merge branch 'master' into rootDir 2015-04-19 13:25:03 -07:00
Jason Freeman ccf4104779 Change TypeMapper to only take a type parameter, and fix combineTypeMappers to comply with that rule 2015-04-17 18:28:38 -07:00
Daniel Rosenwasser 62036758a8 Merge pull request #2809 from Microsoft/noReservedWordsInBindingPatterns
Disallow reserved words for object binding pattern names
2015-04-17 17:06:50 -07:00
Jason Freeman 8ca7805adb Merge branch 'master' of https://github.com/Microsoft/TypeScript into lazyBaseTypes 2015-04-17 12:52:17 -07:00
Cyrus Najmabadi c2e178ee51 CR feedback. 2015-04-17 12:06:21 -07:00
Cyrus Najmabadi 89bfbd0cf3 Make StringLiterals and HeritageClauses into TypeNodes. It makes the checker much simpler and nicer. 2015-04-16 22:48:18 -07:00
Jason Freeman 3b1c833d67 Lazily compute base types 2015-04-16 18:14:59 -07:00
Mohamed Hegazy 8964b8e5b6 Merge branch 'master' into rootDir
Conflicts:
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.types
2015-04-16 16:52:51 -07:00
Daniel Rosenwasser feba8fbbde Alignment. 2015-04-16 14:39:34 -07:00
Ron Buckton 3b74503898 Merge pull request #2750 from Microsoft/fixES6Clodule
Elide var when emitting a module merged with an ES6 class
2015-04-16 11:53:24 -07:00
Mohamed Hegazy af661ae23e Merge branch 'master' into rootDir
Conflicts:
	tests/baselines/reference/APISample_compile.types
	tests/baselines/reference/APISample_linter.types
	tests/baselines/reference/APISample_transform.types
	tests/baselines/reference/APISample_watcher.types
2015-04-14 22:46:31 -07:00
Mohamed Hegazy 261adffe50 Add rootDir option 2015-04-14 22:11:25 -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
Ron Buckton 1c9e9e0f19 Elide var when emitting a module merged with an ES6 class 2015-04-13 13:57:26 -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 a60cf02715 Address CR 2015-04-10 19:00:31 -07:00
Mohamed Hegazy 13ef271831 use @internal comment consistenlly 2015-04-10 16:32:02 -07:00
Mohamed Hegazy 431dce7b84 Merge branch 'master' into APIReviewCleanup
Conflicts:
	src/services/outliningElementsCollector.ts
2015-04-10 16:11:03 -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
Yui T 33d6a81a35 update property in Identifier 2015-04-09 16:50:43 -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
Ahmad Farid a34801f30b merging with master 2015-04-09 16:05:06 -07:00
Yui T 4b7d2f2411 Address code review 2015-04-09 14:46:02 -07:00
Mohamed Hegazy 1c91c2c5d0 Mark non-public API surface with the /* @internal */ comment 2015-04-09 14:18:14 -07:00
Yui T 1246dca703 Add comment 2015-04-08 23:54:42 -07:00
Yui T c93fb35c53 Move strict mode check into TypeChecker 2015-04-08 22:06:51 -07:00
Ron Buckton 1a1813363e Merge branch 'master' into decorators_types 2015-04-06 11:06:38 -07:00
Ahmad Farid d94c7bf978 Merge branch 'master' of https://github.com/Microsoft/TypeScript into outlineComments 2015-04-02 16:55:03 -07:00
Ahmad Farid 64fbf94940 outlinging comments v0.2 2015-04-02 16:23:22 -07:00
Ahmad Farid 27f349ca7d outlining Comments v0.1 4/2 2015-04-02 14:38:22 -07:00
Ron Buckton 5c440384ba Added __param helper for parameter decorators and cleaned up __decorate and __metadata 2015-04-01 17:58:28 -07:00
Ron Buckton 2b78424fd4 Updated baselines 2015-04-01 12:58:32 -07:00
Daniel Rosenwasser 17b790b479 Merge branch 'master' into transitiveExports 2015-04-01 12:00:50 -07:00
Cyrus Najmabadi 478ac3d3ef Merge branch 'master' into classExpressions 2015-03-31 14:53:39 -07:00
Vladimir Matveev f239bbc3b1 Merge pull request #2550 from Microsoft/separateCompilation
Relax import/export elision rules for separate compilation
2015-03-31 14:51:39 -07:00
Cyrus Najmabadi b363a459ff Add support for semicolons in class bodies 2015-03-31 14:29:45 -07:00
Cyrus Najmabadi f7aaf09603 Add support for parsing and emitting class expressions. 2015-03-31 13:54:43 -07:00
Cyrus Najmabadi a1e18fc22b Introduce a new HeritageClauseElment type.
This type represents the expression+type arguments you can get in a class or interface
heritage clause section.  For class-implements clauses, or interface-extends clauses,
these expressions can only be identifiers or dotted names.  For class extends clauses,
these could be any expressions in the future.  However, for now, we only support identifiers
and dotted names.
2015-03-31 12:29:02 -07:00
Mohamed Hegazy cebe42b81f Remove unsed options 2015-03-30 23:32:11 -07:00
Vladimir Matveev d2d3f1e809 Merge branch 'master' into separateCompilation 2015-03-30 12:30:56 -07:00
Cyrus Najmabadi 3b35473e25 Merge branch 'master' into forOfLengthCache
Conflicts:
	Jakefile
	src/compiler/commandLineParser.ts
	src/compiler/types.ts
2015-03-29 00:09:29 -07:00
Cyrus Najmabadi 7fff53cf33 Remove experimental flag to cache for-of length checks. 2015-03-28 23:50:52 -07:00
Cyrus Najmabadi ceeeb9cd11 Always preserve new lines for array and object literals and additional constructs like blocks. 2015-03-26 13:46:35 -07:00
Vladimir Matveev a51f0bf8bb added relaxed emit rules for separate compilation 2015-03-25 23:18:58 -07:00