5627 Commits

Author SHA1 Message Date
Vladimir Matveev
ff640e415f fix 'findPrecedingToken' for jsxText 2015-09-03 13:33:22 -07:00
SaschaNaz
58c732b47d format class expression indentation 2015-09-03 13:33:05 -07:00
SaschaNaz
b8071f99bc format intersection type 2015-09-03 13:32:34 -07:00
Vladimir Matveev
e484305c98 allow backslashes in fileName argument of the transpile function 2015-09-03 13:31:57 -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
Zhengbo Li
3c568251bb Merge pull request #4557 from gwicksted/patch-1
Add parameters to toLocaleDateString
2015-09-02 17:29:31 -07:00
Vladimir Matveev
cd6152ebe6 remove 'experimental' from 'moduleResolution' command line argument 2015-09-02 10:01:28 -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
Vladimir Matveev
8df7cbb515 pass IO when getting default library instead of reading it to prevent
memory leaks, do not count errors in library files twice
2015-08-27 16:59:37 -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 6fbf4494b532080889daabaea3f2e189bfa16d67.
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
Daniel Rosenwasser
cabc0fff11 Merge pull request #4442 from SaschaNaz/formatFunctionType
Format function type (and others)
2015-08-27 14:52:52 -07:00
Yui T
5f3c7623aa Add class expression if existed to classifiable-name map 2015-08-27 14:01:27 -07:00
Ron Buckton
f76528e6f7 Merge pull request #4502 from Microsoft/fixClassExtendsNullDeclEmit
Fixes declaration emit for a class that extends null
2015-08-27 13:58:54 -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
945eb1145d Revert change to the harness that break the unittest 2015-08-27 13:48:25 -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
SaschaNaz
96174ba1a7 adding tests 2015-08-27 22:59:10 +09:00
SaschaNaz
b23215986c adding constructor/parenthesized type 2015-08-27 19:03:35 +09:00
SaschaNaz
be97d03af0 union type rules 2015-08-27 18:26:00 +09:00
Vladimir Matveev
af2a49992f Move RWC runner to use Harness.IO 2015-08-26 18:54:25 -07:00
Vladimir Matveev
1d94653798 Revert "Read default lib from the local file system instead of log-array when do Not use custom library file"
This reverts commit 735efee7ce8a5cd594c6b2e647aaf11ae2ddbc51.
2015-08-26 18:14:52 -07:00
Vladimir Matveev
421990ed81 Revert "Address CR"
This reverts commit 8a4c56bb761256906ec7b2af4f342d7eb8c2a094.
2015-08-26 18:14:38 -07:00
Anders Hejlsberg
72b347478c Adding test harness support 2015-08-26 17:14:13 -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
8a4c56bb76 Address CR 2015-08-26 13:05:38 -07:00