Commit Graph

787 Commits

Author SHA1 Message Date
Wesley Wigham
a2d7b09488 failing test 2015-09-16 15:47:52 -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
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
Vladimir Matveev
e0c16b4332 Check if imported file is a proper external module 2015-09-10 16:00:44 -07:00
Vladimir Matveev
c90276f73c Merge pull request #4705 from Microsoft/keywordInJsxIdentifier
allow jsx identifiers to start with keywords
2015-09-10 15:00:09 -07:00
Yui
047b6ace6a Merge pull request #3883 from Microsoft/omitComments
Do not emit /// comments when remove comments is specified
2015-09-10 14:34:53 -07:00
Daniel Rosenwasser
bed25ddf18 Merge pull request #4641 from vilic/cast-expression-parentheses-with-numeric-literal
Do not omit parentheses for numeric literal with ".property" if it can not be followed by dot operator directly.
2015-09-10 12:14:49 -07:00
vilicvane
c3323c9a69 Keep parentheses for all numeric literals with property access expression 2015-09-11 03:06:13 +08:00
Vladimir Matveev
5989d48267 addressed PR feedback 2015-09-10 12:05:23 -07:00
Vladimir Matveev
ee56e60ca0 do not emit '=' in jsx attribute if initializer is missing 2015-09-10 11:39:06 -07:00
Vladimir Matveev
6a77400980 Merge pull request #4703 from Microsoft/jsxEmitAttribiteWithInitializer
do not emit '=' in jsx attribute if initializer is missing
2015-09-10 11:37:36 -07:00
Mohamed Hegazy
a5c72014b0 Merge pull request #4656 from Microsoft/Fix4655
Report error for class expressions incorrectly extending abstract classes
2015-09-09 13:35:42 -07:00
Vladimir Matveev
aa29644c2a allow to use keywords as jsx identifiers 2015-09-08 22:40:16 -07:00
Vladimir Matveev
83214150f8 do not emit '=' in jsx attribute if initializer is missing 2015-09-08 18:40:30 -07:00
Mohamed Hegazy
8a38a1e4b9 Change typescript.d.ts to be an external module instead of an ambient external module declaration 2015-09-08 12:26:29 -07:00
Mohamed Hegazy
3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -07:00
vilicvane
32d8a22990 Add tests for issue #4603 2015-09-04 22:15:10 +08:00
Sheetal Nandi
5f78d39662 If Type annotation is missing, emit design:Type as Object
Fixes #4549
2015-09-01 13:46:44 -07:00
Anders Hejlsberg
29ec6b0042 Merge pull request #4509 from Microsoft/noDedupeTupleTypes
Fix stack overflow with recursive tuple types
2015-08-27 16:25:25 -07:00
Anders Hejlsberg
5856cc5503 Merge pull request #4501 from Microsoft/checkClassExpressions
Properly check expressions in class extends clause
2015-08-27 16:21:02 -07:00
Anders Hejlsberg
c56683caf3 Merge pull request #4484 from Microsoft/suppressExcessPropertyErrors
Adding -suppressExcessPropertyErrors compiler option
2015-08-27 16:20:28 -07:00
Anders Hejlsberg
1b08f8adc9 Adding tests 2015-08-27 16:12:04 -07:00
Mohamed Hegazy
6975626581 Merge branch 'release-1.6' 2015-08-27 15:23:04 -07:00
Ron Buckton
481c18c892 Added test 2015-08-27 15:21:40 -07:00
Anders Hejlsberg
c0267ec8e1 Adding test 2015-08-27 14:22:42 -07:00
Ron Buckton
67b00feadf Added test 2015-08-27 13:31:31 -07:00
Anders Hejlsberg
f5b85acd74 Adding test 2015-08-26 17:14:33 -07:00
Vladimir Matveev
aedbff163b Merge remote-tracking branch 'origin' into errorMessageInEnums 2015-08-26 14:03:14 -07:00
Vladimir Matveev
a38c32f495 fix error message for forward references in enums 2015-08-26 13:12:29 -07:00
Anders Hejlsberg
e364ef3c7c Adding tests 2015-08-26 06:58:53 -07:00
Yui T
cb8ad4f134 Merge branch 'master' into omitComments
Conflicts:
	src/compiler/emitter.ts
2015-08-25 14:03:21 -07:00
Yui T
40cbd33e65 Update testcase only preserve pinned comment at the top of the file 2015-08-25 13:47:45 -07:00
Mohamed Hegazy
ab6fe49d56 Merge branch 'master' into moduleResolutionStrategies
Conflicts:
	src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -07:00
Sheetal Nandi
3ca08916d4 When emitting metadata about type, Use object type if the type cant be resolved
This could be true if expression cannot be resolved resulting in error
2015-08-24 12:07:14 -07:00
Sheetal Nandi
979e2bf7c4 Write synthesized node's text property instead of getting text from source file
This fixes issue of not being able to emit qualified expression correctly
2015-08-24 12:06:21 -07:00
Sheetal Nandi
6c457f6c1d Tests for #4239 2015-08-24 12:05:16 -07:00
Mohamed Hegazy
60e25a7e1d use commandlineParser's optionDeclarations to parse compiler options instead of doing it explicitlly 2015-08-21 19:17:09 -07:00
Sheetal Nandi
060dbd24f4 Instead of writing text from source file use text property to write text of synthesized node
Fixes #4364
2015-08-21 13:10:30 -07:00