Commit Graph

3676 Commits

Author SHA1 Message Date
Anders Hejlsberg
603eb86302 Addressing CR feedback 2015-08-28 17:39:50 -07:00
Anders Hejlsberg
d8d7fb96b5 Restoring union type subtype reduction 2015-08-28 14:50:58 -07:00
Vladimir Matveev
be8f17c5d7 Merge pull request #4488 from Microsoft/fixRWC
Move RWC runner to use Harness.IO instead of sys
2015-08-27 18:22:28 -07:00
Mohamed Hegazy
28212441d9 Merge pull request #4494 from JKillian/namespaceFlagDotSyntax
Propagate namespace flag to namespaces nested with dot syntax
2015-08-27 17:48:15 -07:00
Ryan Cavanaugh
38a479103b Merge pull request #4475 from RyanCavanaugh/fix4422
Correctly emit imported 'React' references in JSX.
2015-08-27 17:41:52 -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
98de9de281 No deduplication in union of tuple element types 2015-08-27 15:59:00 -07:00
Mohamed Hegazy
6fbf4494b5 Update version to 1.7 2015-08-27 15:46:25 -07:00
Mohamed Hegazy
6975626581 Merge branch 'release-1.6' 2015-08-27 15:23:04 -07:00
Ron Buckton
89ac1940ee Fixes declaration emit for a class that extends null 2015-08-27 15:21:31 -07:00
Yui T
5f3c7623aa Add class expression if existed to classifiable-name map 2015-08-27 14:01:27 -07:00
Yui
4a75f93934 Merge pull request #4503 from Microsoft/fixClassExpClassfication
Fix classification for class expression
2015-08-27 13:58:30 -07:00
Yui T
bff8caa54c Add class expression if existed to classifiable-name map 2015-08-27 13:15:03 -07:00
Ron Buckton
08f4f3774c Fixes declaration emit for a class that extends null 2015-08-27 12:53:17 -07:00
Anders Hejlsberg
ff47fa124a Property check expressions in class extends clause 2015-08-27 12:52:34 -07:00
Jason Killian
4db535d949 Add comment 2015-08-27 14:04:00 -04:00
Jason Killian
69249cbed7 Propagate namespace flag to namespaces nested with dot syntax 2015-08-27 11:36:57 -04:00
Anders Hejlsberg
bbdd340de9 Adding -suppressExcessPropertyErrors compiler option 2015-08-26 17:13:53 -07:00
Daniel Rosenwasser
d4a45227ec Don't assume the class declaration will occur first, and that it is *only* a class declaration. 2015-08-26 16:42:22 -07:00
Daniel Rosenwasser
c9c6d82376 Merge pull request #4480 from Microsoft/goToDefinitionOnConstructors
Fix issue with go-to-definition when first declaration of symbol is not specifically a class declaration
2015-08-26 16:39:29 -07:00
Daniel Rosenwasser
9f3c99e392 Don't assume the class declaration will occur first, and that it is *only* a class declaration. 2015-08-26 16:19:55 -07:00
Ryan Cavanaugh
09120e3a40 Remove unused field 2015-08-26 16:13:35 -07:00
Ryan Cavanaugh
0e4fdf8373 Use synthetic identifier during emit instead 2015-08-26 16:12:50 -07:00
Ryan Cavanaugh
6b5a14a353 CR feedback 2015-08-26 15:28:21 -07:00
Vladimir Matveev
aedbff163b Merge remote-tracking branch 'origin' into errorMessageInEnums 2015-08-26 14:03:14 -07:00
Anders Hejlsberg
bbaf322ab7 Merge pull request #4464 from Microsoft/cacheTypeInstantiations
Cache anonymous object type instantiations
2015-08-26 13:29:54 -07:00
Ryan Cavanaugh
c68fc53e37 Correctly emit imported 'React' references in JSX.
Fixes bug #4422
2015-08-26 13:26:51 -07:00
Vladimir Matveev
a38c32f495 fix error message for forward references in enums 2015-08-26 13:12:29 -07:00
Yui T
e6d91a459e Merge branch 'release-1.6' 2015-08-26 11:14:22 -07:00
Yui T
b9622780c2 Merge branch 'release-1.6' into fix3989
Conflicts:
	src/services/services.ts
2015-08-26 11:07:19 -07:00
Anders Hejlsberg
d615d21e6d Add cache of anonymous object type instantiations to TypeMapper 2015-08-26 06:41:41 -07:00
Mohamed Hegazy
ea35f07c0e change variable name 2015-08-25 17:45:21 -07:00
Mohamed Hegazy
01dda94433 Only set files if we have one 2015-08-25 17:44:16 -07:00
Mohamed Hegazy
d3d4a00691 use toLowerCase and remove unused property 2015-08-25 17:43:46 -07:00
Mohamed Hegazy
509232f477 Move handeling to a diffrent function, and remove specialized serialization 2015-08-25 17:42:39 -07:00
Mohamed Hegazy
16a6de281c Update error message 2015-08-25 14:41:43 -07:00
Mohamed Hegazy
b85665cd38 Make new exported functions internal 2015-08-25 14:34:34 -07:00
Mohamed Hegazy
f3d36616b7 Merge branch 'init' of https://github.com/tinganho/TypeScript into tinganho-init
Conflicts:
	src/compiler/diagnosticInformationMap.generated.ts
	src/compiler/diagnosticMessages.json
	src/compiler/types.ts
2015-08-25 14:23:41 -07:00
Tingan Ho
963ba1918e Addresses CR feedback 2015-08-25 15:05:02 +08:00
Mohamed Hegazy
ab6fe49d56 Merge branch 'master' into moduleResolutionStrategies
Conflicts:
	src/compiler/diagnosticMessages.json
2015-08-24 15:46:06 -07:00
Sheetal Nandi
3fdb5e8882 Used let instead of var 2015-08-24 12:08:22 -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
8c7a634814 Merge branch 'master' into importDeclarationAndDecorator 2015-08-24 11:04:08 -07:00
Sheetal Nandi
1ca28b739e Merge pull request #4402 from Microsoft/metadataTypeName
Instead of writing text from source file use text property to write t…
2015-08-24 10:59:05 -07:00
Zhengbo Li
ecaf16df4b Merge pull request #4283 from zhengbli/JsDocIntellisense2
Add Intellisense to JsDoc
2015-08-21 16:08:37 -07:00
Ryan Cavanaugh
c12da5a2c2 Merge pull request #4406 from RyanCavanaugh/fix4404
Correctly identify JSX Expressions as Expression parent nodes
2015-08-21 15:27:39 -07:00
Ryan Cavanaugh
27dabe49e0 Merge remote-tracking branch 'upstream/master' into fix4376_2
# Conflicts:
#	src/compiler/emitter.ts
2015-08-21 14:49:48 -07:00