Commit Graph

26317 Commits

Author SHA1 Message Date
SaschaNaz bcb8cc3e81 Manual merge 2015-09-04 12:07:24 +09:00
SaschaNaz c63b30afd5 Merge branch 'master' into fixExportImportFormatting 2015-09-04 11:46:13 +09:00
Mohamed Hegazy a579d41a57 Do not add symbol if it is undefined 2015-09-03 13:53:00 -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 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
Vladimir Matveev dc86736820 Merge pull request #4596 from Microsoft/jsxIndentation
fix 'findPrecedingToken' for jsxText
2015-09-03 13:29:44 -07:00
Vladimir Matveev 4f4c8ee12d Merge pull request #4627 from Microsoft/backslashesInTranspile
allow backslashes in fileName argument of the transpile function
2015-09-03 13:29:27 -07:00
Vladimir Matveev feddff0b7b Merge pull request #4622 from SaschaNaz/fixClassExpressionIndent
Fix class expression indentation
2015-09-03 11:59:50 -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 9a78b66068 allow backslashes in fileName argument of the transpile function 2015-09-03 09:25:43 -07:00
SaschaNaz dfde9e4e10 format intersection type 2015-09-03 22:33:07 +09:00
SaschaNaz 8d1d0d8d70 format class expression indentation 2015-09-03 22:07:52 +09:00
SaschaNaz f0ed672eb1 disable indentation when in brace shell
This pattern can also be used to format JSX end tag.
2015-09-03 20:02:48 +09:00
SaschaNaz 66924a3718 format open brace in export/import decl 2015-09-03 20:01:39 +09:00
Zhengbo Li 3c568251bb Merge pull request #4557 from gwicksted/patch-1
Add parameters to toLocaleDateString
2015-09-02 17:29:31 -07:00
Zhengbo Li 690b87c209 Merge pull request #4557 from gwicksted/patch-1
Add parameters to toLocaleDateString
2015-09-02 16:02:42 -07:00
Vladimir Matveev cd6152ebe6 remove 'experimental' from 'moduleResolution' command line argument 2015-09-02 10:01:28 -07:00
Graeme Wicksted 03da2ce42b Added toLocaleTimeString variations
See [Mozilla Reference ](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString)
2015-09-02 10:19:49 -04: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 c436736e1e Adding a few comments 2015-09-01 13:15:43 -07:00
Vladimir Matveev 538d5b9480 fix 'findPrecedingToken' for jsxText 2015-09-01 12:41:48 -07:00
Anders Hejlsberg e78478b767 More flexible rules when destructuring have literal initializers 2015-09-01 12:34:29 -07:00
Vladimir Matveev 3e2be80d8a remove 'experimental' from 'moduleResolution' command line argument 2015-09-01 11:09:41 -07:00
Yui T 1854adb56b address PR 2015-08-31 20:33:02 -07:00
Daniel Rosenwasser ad3cca3d4f Added comment, inlined function. 2015-08-31 15:04:25 -07:00
Daniel Rosenwasser 5ff945bc5e Style. 2015-08-31 15:04:20 -07:00
Daniel Rosenwasser 41f37f5890 Improve error message spans when object literals have excess properties. 2015-08-31 15:04:12 -07:00
Daniel Rosenwasser 712d5c483f Added comment, inlined function. 2015-08-31 14:53:02 -07:00
Graeme Wicksted c209747c6a Add parameters to toLocaleDateString
Also added missing option in Intl.DateTimeFormatOptions (timeZone).  Original ticket #4294
2015-08-31 10:29:58 -04: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
tien d0281f0e0e Merge pull request #4536 from hoanhtien/fixInconsistentFormatting
Fix formatting inconsistencies in editorservices.ts
2015-08-30 17:02:45 -07:00
Anders Hejlsberg 758cdf3378 Only obtain regular type of fresh object literal type if necessary 2015-08-30 15:07:04 -07:00
SaschaNaz 9d867b70e3 pseudo-block indentation 2015-08-30 15:02:15 +09: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
Mohamed Hegazy 7f6608b2b9 Merge pull request #4537 from Microsoft/unionSubtypeReduction
Union subtype reduction
2015-08-28 17:48:57 -07:00
Anders Hejlsberg 603eb86302 Addressing CR feedback 2015-08-28 17:39:50 -07:00
Tien Nguyen 2611607159 Reformat some code. 2015-08-28 16:01:04 -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
Anders Hejlsberg d8d7fb96b5 Restoring union type subtype reduction 2015-08-28 14:50:58 -07:00
Ryan Cavanaugh 90aff0c654 Use synthetic identifier during emit instead 2015-08-28 14:00:36 -07:00
Dick van den Brink 8028ab56c5 Fix occurrences on this in class expressions
Fix #4479
2015-08-28 22:11:01 +02:00
SaschaNaz 525aea3cf9 add rules and indents to named export/import 2015-08-28 23:00:58 +09: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
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
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