Commit Graph

3690 Commits

Author SHA1 Message Date
Daniel Rosenwasser
535efd1b5d Encode the conditional presence of 'error' in the type system. 2015-09-10 14:28:57 -07:00
Daniel Rosenwasser
4b15c5f628 Added error for bad argument, fixed diagnostic for '--help' message. 2015-09-10 14:23:33 -07:00
Daniel Rosenwasser
fae7a129eb Assert condition to track root cause of issue. 2015-09-10 13:50:12 -07:00
Vladimir Matveev
ee56e60ca0 do not emit '=' in jsx attribute if initializer is missing 2015-09-10 11:39:06 -07:00
Daniel Rosenwasser
96a815878c Merge pull request #4657 from Microsoft/emptyVariableDeclarationBindingPattern
Fix emitted code for variable statement with no bound variables
2015-09-09 16:47:45 -07:00
Mohamed Hegazy
3d8c336a4f Merge pull request #4632 from Microsoft/fixCompletionAssert
Fix completion assert
2015-09-08 15:39:19 -07:00
Daniel Rosenwasser
5297a7f319 Ensure that zero-element binding patterns don't try to reuse assigned identifiers. 2015-09-04 17:53:56 -07:00
Sheetal Nandi
0573c0b006 Merge pull request #4599 from Microsoft/decoratorInferredType
If Type annotation is missing, emit design:Type as Object
2015-09-04 11:19:17 -07:00
Mohamed Hegazy
a579d41a57 Do not add symbol if it is undefined 2015-09-03 13:53:00 -07:00
Daniel Rosenwasser
fafbec60de Merge pull request #4552 from Microsoft/bettErrErrorsForObjectLiteralExcessProperties
Better error spans for object literal excess properties
2015-09-03 10:03:53 -07:00
Vladimir Matveev
cd6152ebe6 remove 'experimental' from 'moduleResolution' command line argument 2015-09-02 10:01:28 -07:00
Sheetal Nandi
5f78d39662 If Type annotation is missing, emit design:Type as Object
Fixes #4549
2015-09-01 13:46:44 -07:00
Daniel Rosenwasser
712d5c483f Added comment, inlined function. 2015-08-31 14:53:02 -07:00
Daniel Rosenwasser
42e08686be Style. 2015-08-31 01:09:48 -07:00
Daniel Rosenwasser
19e54fe1af Improve error message spans when object literals have excess properties. 2015-08-31 01:07:30 -07:00
Anders Hejlsberg
565696217f Addressing CR feedback 2015-08-28 17:51:07 -07:00
Anders Hejlsberg
0e52555d4c Restoring union type subtype reduction 2015-08-28 17:50:39 -07:00
Ron Buckton
1ea378859c Fixes fallback checks that cause an exception during call resolution for an async function 2015-08-28 15:13:32 -07:00
Ryan Cavanaugh
90aff0c654 Use synthetic identifier during emit instead 2015-08-28 14:00:36 -07:00
Vladimir Matveev
4aec447dba Merge pull request #4488 from Microsoft/fixRWC
Move RWC runner to use Harness.IO instead of sys
2015-08-27 18:16:22 -07:00
Vladimir Matveev
24a65f4f79 merge with master 2015-08-27 17:15:49 -07:00
Mohamed Hegazy
0369ecd213 Merge branch 'master' into mergeMasterInRelease1.6 2015-08-27 16:27:31 -07:00
Mohamed Hegazy
6cd2a47d97 Merge branch 'master' into mergeMasterInRelease1.6 2015-08-27 16:26:04 -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
155a8870f3 Revert "Update version to 1.7"
This reverts commit 6fbf4494b5.
2015-08-27 15:49:50 -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
Vladimir Matveev
af2a49992f Move RWC runner to use Harness.IO 2015-08-26 18:54:25 -07: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
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
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