Commit Graph
1481 Commits
Author SHA1 Message Date
Ron Buckton f909c6c9f7 Updated baselines 2015-03-17 14:21:13 -07:00
Mohamed Hegazy a06ce61684 Merge branch 'master' into es6ImportExportEmit 2015-03-17 13:03:17 -07:00
Jason Freeman 2bcf84c73b Merge pull request #2356 from Microsoft/typeParameterFixing
Make sure type parameters stay fixed throughout the inference process
2015-03-17 11:42:21 -07:00
Daniel Rosenwasser 122721005b Merge pull request #2385 from Microsoft/completeIsCompleteNode
More thorough node completed-ness checking
2015-03-17 11:35:26 -07:00
Jason Freeman 3879d0ae9a Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-17 10:45:41 -07:00
Daniel Rosenwasser 577c12e42e Added accumulated tests. 2015-03-16 23:19:21 -07:00
Daniel Rosenwasser 3eea65512c Rename tests. 2015-03-16 22:13:55 -07:00
Daniel Rosenwasser a7f57cbe41 Indentation within binding patterns.
Fixes #2380.
2015-03-16 22:09:17 -07:00
Mohamed Hegazy 1932f720cb Handel export name bindings in internal modules in ES6 2015-03-16 21:58:57 -07:00
Daniel Rosenwasser 686d1c60de A more complete isCompletedNode. 2015-03-16 21:33:39 -07:00
Mohamed Hegazy cb012e01fd Merge branch 'master' into es6ImportExportEmit
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-03-16 20:47:08 -07:00
Vladimir Matveev 74eb96a5b9 correctly merge const enum only and instantiated modules 2015-03-16 19:51:22 -07:00
Jason Freeman 6fc552339f Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-16 17:43:31 -07:00
Yui c4cb3e3483 Merge pull request #2333 from Microsoft/emitClass
Class emit for ES6
2015-03-16 17:40:03 -07:00
Yui T 513b45d101 Merge branch 'master' into emitClass
Conflicts:
	src/compiler/checker.ts
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/emitter.ts
	src/compiler/parser.ts
2015-03-16 15:55:57 -07:00
Yui T c51983df3c Address code review 2015-03-16 15:48:03 -07:00
Yui T 91c5bae6e5 Address code review 2015-03-16 15:41:51 -07:00
Jason Freeman 28c4b02577 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-16 14:52:17 -07:00
Mohamed Hegazy 5845d2d214 Merge branch 'master' into es6ImportExportEmit 2015-03-16 14:49:41 -07:00
Mohamed Hegazy 696b688987 Merge branch 'master' into exportDefaultType
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-03-16 14:42:47 -07:00
Yui T 2c7ea7f6b2 Update Baselines 2015-03-16 14:28:29 -07:00
Vladimir Matveev f5a4b0b31a use 'allowGeneratedIdentifiers' to explicitly tell when identifier can be renamed 2015-03-16 12:37:21 -07:00
Mohamed Hegazy 090148fdee Merge branch 'master' into es6ImportExportEmit
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
2015-03-16 12:11:43 -07:00
Jason Freeman bd811cea2a Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-16 11:04:40 -07:00
Daniel Rosenwasser ad98fadb0a Merge pull request #2283 from caitp/issue-2282
Disallow line terminator after arrow function parameters, before =>
2015-03-15 21:59:54 -04:00
Mohamed Hegazy c877b1e0a5 Add tests 2015-03-15 18:24:12 -07:00
Mohamed Hegazy b6a6d85e6b Merge branch 'master' into es6ImportExportEmit
Conflicts:
	src/compiler/checker.ts
	src/compiler/emitter.ts
	src/compiler/program.ts
2015-03-15 15:48:23 -07:00
Mohamed Hegazy 7430f3c9c7 Merge branch 'master' into exportDefaultType
Conflicts:
	src/compiler/checker.ts
2015-03-15 14:23:40 -07:00
Mohamed Hegazy ebcb86b077 enable navbar for export defaults
Conflicts:
	src/services/navigationBar.ts
2015-03-15 13:22:54 -07:00
Caitlin Potter 10925c1e9b Make sure arrow function grammar rules can deal with type annotations 2015-03-14 19:51:42 -04:00
Caitlin Potter 231f522d89 Add additional test-cases for arrow function grammar
As suggested by @DanielRosenwasser
2015-03-14 19:50:55 -04:00
Caitlin Potter 84634ac25d Disallow line terminator after arrow function parameters, before =>
Closes #2282
2015-03-14 19:50:24 -04:00
Jason Freeman a29b6fe8c7 Add tests for type parameter fixing 2015-03-13 18:36:16 -07:00
Vladimir Matveev db324db202 merge with master 2015-03-13 14:44:54 -07:00
Vladimir Matveev 0675a92acc consider binding elements as always initialized with doing shadow check 2015-03-13 14:34:10 -07:00
Vladimir Matveev 82a940df06 Merge pull request #2323 from Microsoft/letConstInDestructuringInNotStrictMode
correctly parse destructuring in let outside of strict mode
2015-03-13 13:34:06 -07:00
Vladimir Matveev 64fa7fbecb use Value meaning as a filter when resolving names to prevent skipping other value in favor of block-scoped variables 2015-03-13 11:52:14 -07:00
Mohamed Hegazy a6a8a96249 Support an optional type annotation on export default statement 2015-03-12 22:52:54 -07:00
Mohamed Hegazy 8e0626555b Merge branch 'master' into es6ImportExportEmit 2015-03-12 17:21:48 -07:00
Mohamed Hegazy b3c8bcb319 Emit export default in ES6 2015-03-12 17:14:33 -07:00
Yui T af05afdc50 Emit Super as super 2015-03-12 16:34:06 -07:00
Yui T 800c523f4f Clean up redundant tests 2015-03-12 16:02:43 -07:00
Yui T 0672923323 Parse classDeclaration in strict mode code for ES6 2015-03-12 15:19:45 -07:00
Jason Freeman 6691408147 Address PR feedback 2015-03-12 14:56:58 -07:00
Jason Freeman 1204d3186b Merge branch 'master' of https://github.com/Microsoft/TypeScript into for-ofES5 2015-03-12 13:32:17 -07:00
Vladimir Matveev 17d2a1bedf Merge pull request #2309 from Microsoft/recursiveLetConst
disallow recursive references for block-scoped bindings
2015-03-12 13:20:08 -07:00
Mohamed Hegazy fe9fff506d Export * and export { names } emit in es6 format
Conflicts:
	src/compiler/emitter.ts
	tests/baselines/reference/es6ExportAll.js
	tests/baselines/reference/es6ExportClause.js
	tests/baselines/reference/es6ExportClauseWithoutModuleSpecifier.js
2015-03-12 11:51:32 -07:00
Vladimir Matveev 171a5f8098 correctly parse destructuring in let outside of strict mode 2015-03-12 10:59:59 -07:00
Mohamed Hegazy 680cf6d844 Emit export internal import equals declaration in es6 format 2015-03-12 10:34:39 -07:00
Mohamed Hegazy 6bcbe824aa Emit export class declaration in es6 format.
Note since we havent yet changed the emitting of class declaration to es6 format,
we are just exporting the constructor function

Conflicts:
	src/compiler/emitter.ts
2015-03-12 10:27:46 -07:00