Commit Graph

1332 Commits

Author SHA1 Message Date
Ron Buckton
0fb624a58b PR feedback 2015-03-19 22:57:03 -07:00
Ron Buckton
9761f4b783 PR comment, sourcemap test 2015-03-18 11:17:26 -07:00
Ron Buckton
ff356cef4c Added sourcemap tests 2015-03-17 18:15:02 -07:00
Ron Buckton
5673400f82 Updated baselines 2015-03-17 15:03:25 -07:00
Ron Buckton
f909c6c9f7 Updated baselines 2015-03-17 14:21:13 -07:00
Ron Buckton
6c32a8bdb0 Updated baselines 2015-03-17 14:21:08 -07:00
Ron Buckton
efd8a89f69 Diagnostics for decorators 2015-03-17 14:17:24 -07:00
Mohamed Hegazy
a06ce61684 Merge branch 'master' into es6ImportExportEmit 2015-03-17 13:03:17 -07:00
Jason Freeman
3879d0ae9a Merge branch 'master' of https://github.com/Microsoft/TypeScript into typeParameterFixing 2015-03-17 10:45:41 -07:00
Mohamed Hegazy
1932f720cb Handel export name bindings in internal modules in ES6 2015-03-16 21:58:57 -07:00
Mohamed Hegazy
3d802438f1 Export classes defined wihtin internal modules correctelly 2015-03-16 21:18:31 -07:00
Mohamed Hegazy
99108694d5 Do not emit "export" for classes within modules, and do not write the name of an export default class 2015-03-16 20:54:28 -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
91c5bae6e5 Address code review 2015-03-16 15:41:51 -07:00
Yui T
88933d54cc Address code review 2015-03-16 15:20:40 -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
Jason Freeman
9933f6cd00 Address PR feedback 2015-03-16 11:04:11 -07:00
Yui T
0eeb7ce7b8 Update baselines 2015-03-15 21:40:15 -07:00
Yui T
3bb4b50b4f Update baselines for symbol 2015-03-15 21:35:06 -07:00
Yui T
c70385c257 Update baselines 2015-03-15 21:27:54 -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
c984e81053 Fix issue of the default binding not elided if namedImport is reference
Conflicts:
	src/compiler/checker.ts
	src/compiler/emitter.ts
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImport.js
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportInEs5.js
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamedImportWithExport.js
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingDts.js
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingInEs5.js
	tests/baselines/reference/es6ImportDefaultBindingFollowedWithNamespaceBindingWithExport.js
2015-03-15 18:23:48 -07:00
Yui T
9bf5a11bef Update baselines 2015-03-15 16:29:41 -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
44a5343c1e Upate error message 2015-03-15 14:37:12 -07:00
Mohamed Hegazy
7430f3c9c7 Merge branch 'master' into exportDefaultType
Conflicts:
	src/compiler/checker.ts
2015-03-15 14:23:40 -07:00
Vladimir Matveev
3cea68d955 Merge pull request #2353 from Microsoft/shadowingNameViaBindingPattern
consider binding elements as always initialized with doing shadow check
2015-03-15 11:53:42 -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
5e107e6042 Address slew of review comments 2015-03-14 19:51:41 -04:00
Caitlin Potter
aa3cefb63d Check that arrow is on same line as parameters 2015-03-14 19:51:41 -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
dd16fed21e Perform error reporting in checker 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
Jason Freeman
df6f856ad5 Persist inference context object throughout the signature, and add isFixed property 2015-03-13 18:32:25 -07:00
Cyrus Najmabadi
9445b03110 Do not include experimental options in the public API. 2015-03-13 16:56:19 -07:00
Cyrus Najmabadi
285497edf8 Reserve _i and _n as names we often want to generate 2015-03-13 16:45:58 -07:00
Cyrus Najmabadi
d8d4719765 Add experimental option to cache the .length access in downlevel for-of emit. 2015-03-13 16:15:25 -07:00
Vladimir Matveev
d163205da6 accepted baselines 2015-03-13 15:59:22 -07:00