826 Commits

Author SHA1 Message Date
Sheetal Nandi
f28fbfd7c5 Merge branch 'master' into tscJsFiles 2015-10-12 12:51:24 -07:00
Sheetal Nandi
6882035dc0 Verify if one or more files are emitting into same output file we provide error 2015-10-12 12:50:35 -07:00
Sheetal Nandi
a87dae15a9 Verify that when emit blocking error occurs rest of the emit occurs as expected 2015-10-12 12:44:21 -07:00
Sheetal Nandi
5e14edb4b7 Verify the emit file name is unique and doesnt overwrite input file
Fixes #4424
2015-10-12 12:25:13 -07:00
Vladimir Matveev
22e68de7ec Merge pull request #5216 from Microsoft/checkFunctionsInClassExpressions
check functions in class expressions
2015-10-12 11:09:21 -07:00
Vladimir Matveev
ca98831674 addressed PR feedback: added tests for let declarations 2015-10-12 10:22:18 -07:00
Vladimir Matveev
adf9f9b8df check initialization of exported block scoped variables 2015-10-12 09:59:41 -07:00
Vladimir Matveev
a0683276d1 check functions in class expressions 2015-10-11 21:57:17 -07:00
Vladimir Matveev
1b5dc0d7d1 Merge pull request #5121 from Microsoft/shorthandPropsInDestructuring
parse/check/emit shorthand property assignment in destructuring
2015-10-10 22:39:05 -07:00
jbondc
afa08181e2 Address code review.
Accept baselines.
2015-10-08 17:30:46 -04:00
jbondc
8960f523ea Resolve const enum value in index access. 2015-10-08 07:57:35 -04:00
Sheetal Nandi
b580c5588e Merge branch 'master' into tscJsFiles 2015-10-05 16:42:37 -07:00
Vladimir Matveev
a975895e4d parse/check/emit shorthand property assignment in destructuring 2015-10-05 14:39:57 -07:00
Anders Hejlsberg
c7fdc0a6e5 Merge pull request #5099 from Microsoft/deferMemberInstantiation
Defer member instantiation
2015-10-05 12:46:49 -07:00
Wesley Wigham
28475c345d Change prologue emit location to inside module IIFEs 2015-10-05 11:22:16 -07:00
Anders Hejlsberg
139b5545a0 Adding tests 2015-10-03 18:08:45 -07:00
Nathan Shively-Sanders
04510ac157 Automatic semicolon insertion for class modifiers
This includes public, private, protected, abstract

async and declare already work this way, but it looks
like they didn't block the completion list, so I added
them to the list too.
2015-10-02 14:30:31 -07:00
Vladimir Matveev
b4f326ab04 collect imports and exports in ambient external modules 2015-09-29 15:06:03 -07:00
Vladimir Matveev
b866781609 Merge pull request #4946 from Microsoft/constInitializersInEnums
align behavior of constant expressions in initializers of ambient enu…
2015-09-24 21:49:35 -07:00
Anders Hejlsberg
bcea3594a3 Merge pull request #4956 from Microsoft/bindingElementContextualTyping
Fix parameter destructuring issues
2015-09-24 15:55:37 -07:00
Anders Hejlsberg
eb73565429 Adding tests 2015-09-24 13:52:19 -07:00
Wesley Wigham
dd660dca39 Merge pull request #4811 from weswigham/es6-module-type
Support modules when targeting ES6 and an ES6 ModuleKind
2015-09-24 12:09:58 -07:00
Vladimir Matveev
fa3d9f3997 align behavior of constant expressions in initializers of ambient enum members with spec 2015-09-23 21:30:27 -07:00
Sheetal Nandi
e044d3e6b5 Merge branch 'master' into tscJsFiles 2015-09-22 12:36:36 -07:00
Vladimir Matveev
c56b4165ec disambiguate: 'implements' starts heritage clause vs 'implements' is a class name 2015-09-21 22:22:25 -07:00
Wesley Wigham
8ff551ce08 merge with master 2015-09-21 17:38:56 -07:00
Sheetal Nandi
c30104e3b6 Add option --jsExtensions to handle extensions to treat as javascript
- Command line now takes --jsExtension multiple times or comma separated list of extensions
- tsconfig accepts array of extension strings
2015-09-21 15:39:53 -07:00
Sheetal Nandi
400b353de2 Merge branch 'master' into tscJsFiles 2015-09-18 10:50:30 -07:00
Wesley Wigham
f2b901a3c7 reverts 60a120f, reexposes es6 option 2015-09-17 13:14:31 -07:00
Wesley Wigham
a2d7b09488 failing test 2015-09-16 15:47:52 -07:00
Sheetal Nandi
60e15b267d Report error when emitting declarations if the reference is to .js file 2015-09-16 15:11:11 -07:00
Sheetal Nandi
68c65cd29e Test case when one of the input file is output file name 2015-09-16 13:22:10 -07:00
Sheetal Nandi
bc48c7c9f0 Merge branch 'master' into tscJsFiles 2015-09-16 11:38:11 -07:00
Wesley Wigham
60a120f22a remove es6 as option from command line 2015-09-16 11:08:03 -07:00
Wesley Wigham
c71a0acdff Pair of new tests for the new flag 2015-09-15 15:45:23 -07:00
Daniel Rosenwasser
45ecce4710 Merge pull request #4809 from Microsoft/mergeFromRelease1.6
Merge from release-1.6
2015-09-15 15:16:44 -07:00
Daniel Rosenwasser
38b605ea7d Merge branch 'release-1.6'
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/program.ts
	tests/baselines/reference/emptyObjectBindingPatternParameter04.symbols
	tests/baselines/reference/emptyObjectBindingPatternParameter04.types
	tests/baselines/reference/nodeResolution5.errors.txt
	tests/baselines/reference/nodeResolution7.errors.txt
2015-09-15 13:36:08 -07:00
Mohamed Hegazy
48d0e6d197 Update tests to use "removeComments" instead of "comments" 2015-09-15 12:08:55 -07:00
Mohamed Hegazy
4c1089f781 Merge branch 'master' into cleanHarnessOptionLoading
Conflicts:
	tests/cases/compiler/pinnedComments1.ts
2015-09-15 12:08:37 -07:00
Mohamed Hegazy
c63dfbd4c7 Update node resolution tests 2015-09-15 11:43:28 -07:00
Mohamed Hegazy
ee5881ef9c Merge branch 'master' into cleanHarnessOptionLoading
Conflicts:
	src/harness/harness.ts
2015-09-14 16:53:08 -07:00
Vladimir Matveev
5636655cf4 report error if module name is empty 2015-09-14 14:33:35 -07:00
Sheetal Nandi
885babc9bc Merge branch 'master' into tscJsFiles 2015-09-14 12:40:47 -07:00
Vladimir Matveev
5b764205fe Merge pull request #4750 from Microsoft/Port-4749
Port PR 4749 into release-1.6
2015-09-11 10:21:20 -07:00
Vladimir Matveev
90273f995d Merge pull request #4749 from Microsoft/systemExportOnlyValues
Emit export specifiers in system modules only if export has a value side
2015-09-11 10:21:11 -07:00
Vladimir Matveev
0e5196180e emit export specifiers in system modules only if export has a value side 2015-09-11 09:38:51 -07:00
Vladimir Matveev
c72469a66f emit export specifiers in system modules only if export has a value side 2015-09-11 09:36:17 -07:00
Vladimir Matveev
98f31635f8 Check if imported file is a proper external module 2015-09-10 21:46:03 -07:00
Mohamed Hegazy
09309d8b6c Merge pull request #4695 from Microsoft/definitionsAsExternalModule
Change typescript.d.ts to be an external module instead of an ambient external module declaration
2015-09-10 17:07:58 -07:00
Vladimir Matveev
04949a005c Merge remote-tracking branch 'origin/master' into properExternalModules 2015-09-10 16:42:17 -07:00