Commit graph

7847 commits

Author SHA1 Message Date
Mohamed Hegazy
828c37e72b Merge pull request #4730 from Microsoft/fix4727
prerocess `export import` declarations correctly
2015-09-10 14:19:30 -07:00
Mohamed Hegazy
7e1739604a Fix #4727: prerocess export import declarations correctelly 2015-09-10 13:24:45 -07:00
Vladimir Matveev
2816fdefd0 Merge pull request #4725 from Microsoft/Port-4703
Ports of PR-4703 into release 1.6
2015-09-10 12:06:01 -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
Daniel Rosenwasser
fb889bee4e Accepted baselines. 2015-09-09 13:05:39 -07:00
Daniel Rosenwasser
5aa17cd671 Added tests for parameter initializers. 2015-09-09 12:47:31 -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
8952ed66b2 Accepted baselines. 2015-09-04 17:57:06 -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
Vladimir Matveev
03d373dfae Merge pull request #4650 from Microsoft/Port-4646
Port PR-4646 into release-1.6
2015-09-04 13:36:12 -07:00
Vladimir Matveev
97b846c444 handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 13:03:47 -07:00
Daniel Rosenwasser
9ba2fdaf68 Accepted baselines. 2015-09-04 12:31:54 -07:00
Daniel Rosenwasser
3518ad1723 Added more test cases. 2015-09-04 12:14:57 -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
7a0c28ccc8 make the test more specific 2015-09-03 14:11:54 -07:00
Wesley Wigham
568e4a5601 sample 2015-09-03 13:54:08 -07:00
Mohamed Hegazy
a579d41a57 Do not add symbol if it is undefined 2015-09-03 13:53:00 -07:00
Vladimir Matveev
f47650c3b3 Merge pull request #4631 from Microsoft/formattingFixesFromMaster
Port formatting related issues from master
2015-09-03 13:52:39 -07:00
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
40112c5137 fix test 2015-09-03 13:32:45 -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
0913f07a82 Merge pull request #4607 from Microsoft/port-4592
remove 'experimental' from 'moduleResolution' command line argument
2015-09-02 11:40:05 -07:00
Vladimir Matveev
cd6152ebe6 remove 'experimental' from 'moduleResolution' command line argument 2015-09-02 10:01:28 -07:00
Daniel Rosenwasser
906634f0a4 Accepted baselines. 2015-09-01 17:45:47 -07:00
Daniel Rosenwasser
e3657bccff Added tests. 2015-09-01 17:36:20 -07:00
Daniel Rosenwasser
232e33e854 Accepted baselines. 2015-09-01 17:25:16 -07:00
Daniel Rosenwasser
9d3907ffbe Added declaration option to empty destructuring tests. 2015-09-01 17:24:58 -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
4d42d21912 Accepted baselines. 2015-08-31 01:08:09 -07:00
Daniel Rosenwasser
19e54fe1af Improve error message spans when object literals have excess properties. 2015-08-31 01:07:30 -07:00
Mohamed Hegazy
5542e396d7 Update LKG 2015-08-28 17:52:47 -07:00
Anders Hejlsberg
565696217f Addressing CR feedback 2015-08-28 17:51:07 -07:00
Anders Hejlsberg
2ee80f1f10 Accepting new baselines 2015-08-28 17:50:56 -07:00
Anders Hejlsberg
d63a4f1643 Fixing fourslash tests 2015-08-28 17:50:47 -07:00
Anders Hejlsberg
0e52555d4c Restoring union type subtype reduction 2015-08-28 17:50:39 -07:00
Ron Buckton
9866172623 Merge pull request #4535 from Microsoft/fixAsyncCallResolutionException
Fixes fallback checks that cause an exception during call resolution …
2015-08-28 15:29:20 -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
Ryan Cavanaugh
6b476b2b5f CR feedback 2015-08-28 13:59:29 -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
e047025ff9 Update LKG 2015-08-27 16:50:34 -07:00