Nathan Shively-Sanders
5cd0ca19af
Add test case, correct existing test case
...
Existing: String assignment to a numeric indexer should succeed, not fail.
(The baseline was already correct but the inline comment was wrong.)
New: Boolean assignment to a numeric indexer should fail.
2015-10-15 11:04:36 -07:00
Nathan Shively-Sanders
8eacd41ab0
Add tests and accept baselines
2015-10-15 09:52:31 -07:00
Mohamed Hegazy
21e30e0f59
Merge pull request #5235 from Microsoft/fixDecoratorDiagostics
...
Fix exception in compiler when type checking decorators with generics.
2015-10-14 12:29:08 -07:00
Vladimir Matveev
124447763b
Merge pull request #5233 from Microsoft/relaxedUseBeforeDef
...
allow forward references to block scoped variables from functions
2015-10-13 14:19:01 -07:00
Mohamed Hegazy
99d448a167
Merge pull request #5231 from Microsoft/removeExperimentalAsyncFunctions
...
Remove experimental async functions
2015-10-13 14:17:36 -07:00
Ryan Cavanaugh
b2d666c489
Merge pull request #5184 from RyanCavanaugh/fix5096
...
Don't issue completion in JSX text
2015-10-13 13:27:39 -07:00
Vladimir Matveev
0465f1b0bb
revert enum related changes
2015-10-13 13:18:58 -07:00
Ryan Cavanaugh
6bbfe56dca
Use memberListCount
2015-10-13 13:16:44 -07:00
Vladimir Matveev
48b24343b1
use isBlockScopedNameDeclaredBeforeUse for block scoped variables and enums
2015-10-13 00:07:36 -07:00
Ron Buckton
0fa89ad99c
Fixes #5104 .
2015-10-12 17:38:55 -07:00
Vladimir Matveev
eb3b91cf1b
addressed PR feedback
2015-10-12 17:24:39 -07:00
Yui
77eaf04386
Merge pull request #4914 from Microsoft/exponentiation
...
[ES7] Exponentiation
2015-10-12 16:37:45 -07:00
Vladimir Matveev
f952873ef1
allow forward references to block scoped variables from functions
2015-10-12 16:18:37 -07:00
Vladimir Matveev
c8ba16644b
Merge pull request #4911 from Microsoft/liftDtsOnlyRestriction
...
extend the list of extensions for module file names in node_modules f…
2015-10-12 14:48:47 -07:00
Mohamed Hegazy
e9bed76baa
Remove --experimentalAsyncFunctions from tests
2015-10-12 14:27:58 -07:00
Nathan Shively-Sanders
8a051343ff
Merge pull request #5169 from Microsoft/fix-simple-uses-of-polymorphic-this-in-services
...
Fix simple uses of polymorphic this in services
2015-10-12 13:54:50 -07:00
Vladimir Matveev
4ccf630f63
merge with master
2015-10-12 13:45:06 -07:00
Ryan Cavanaugh
c05297cfea
Merge pull request #5178 from RyanCavanaugh/fix5132
...
Escape quotes when emitting React
2015-10-12 11:56:46 -07:00
Vladimir Matveev
22e68de7ec
Merge pull request #5216 from Microsoft/checkFunctionsInClassExpressions
...
check functions in class expressions
2015-10-12 11:09:21 -07:00
Yui T
d3e10b3d3f
Merge remote-tracking branch 'origin/master' into exponentiation
...
Conflicts:
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/program.ts
2015-10-12 10:54:46 -07:00
Vladimir Matveev
d757e5e7a2
Merge pull request #5226 from Microsoft/blockScopedExports
...
check initialization of exported block scoped variables
2015-10-12 10:32:57 -07:00
Vladimir Matveev
ca98831674
addressed PR feedback: added tests for let declarations
2015-10-12 10:22:18 -07:00
Vladimir Matveev
adf9f9b8df
check initialization of exported block scoped variables
2015-10-12 09:59:41 -07:00
Vladimir Matveev
c35419e12e
add rule to insert space between async keyword and open paren
2015-10-11 22:19:51 -07:00
Vladimir Matveev
a0683276d1
check functions in class expressions
2015-10-11 21:57:17 -07:00
Vladimir Matveev
1b5dc0d7d1
Merge pull request #5121 from Microsoft/shorthandPropsInDestructuring
...
parse/check/emit shorthand property assignment in destructuring
2015-10-10 22:39:05 -07:00
Paul van Brenk
573652160c
Merge pull request #5197 from Microsoft/supportIndentStyle
...
Support different indentation styles
2015-10-09 16:51:39 -07:00
Martin Vseticka
69ff6f5090
Add "A module cannot have multiple default exports." message for multiple "default" exports
2015-10-09 21:37:54 +02:00
Yui T
5e921c1d8d
Address PR feedback, remove scriptTarget ES7
2015-10-08 17:12:22 -07:00
Mohamed Hegazy
350bb1f315
Merge pull request #5167 from jbondc/const-indexed-access
...
Const enum indexed access
2015-10-08 15:39:14 -07:00
Ryan Cavanaugh
24334b506c
Only show the opening tag name when completing a close tag
...
Fixes #5096
2015-10-08 15:32:36 -07:00
Ryan Cavanaugh
1e708b46a7
Implement not.greaterThan for completion list
2015-10-08 15:31:59 -07:00
Ryan Cavanaugh
b1c8303300
Fix case for completion on the line after a self-closing element
2015-10-08 14:55:11 -07:00
jbondc
afa08181e2
Address code review.
...
Accept baselines.
2015-10-08 17:30:46 -04:00
Ryan Cavanaugh
88bffac07f
Don't issue completion in JSX text
...
Fixes #5096
2015-10-08 14:26:43 -07:00
Ryan Cavanaugh
d229ae4be5
Escape quotes when emitting React
2015-10-08 11:28:18 -07:00
Anders Hejlsberg
cae21c09b4
Adding tests
2015-10-08 10:58:58 -07:00
jbondc
8960f523ea
Resolve const enum value in index access.
2015-10-08 07:57:35 -04:00
Vladimir Matveev
fb1d2cf42c
address PR feedback
2015-10-07 15:48:53 -07:00
Vladimir Matveev
75af4f70b6
transpile text as tsx if jsx option is specified
2015-10-07 10:37:28 -07:00
Ron Buckton
703af074ff
Fixes some checker errors regarding async functions. Fixes #5115 .
2015-10-06 16:44:48 -07:00
Yui T
8be77b448f
Update test to parse typeAssertion as simpleUnaryExpression
2015-10-06 15:29:21 -07:00
Ron Buckton
64b6c9f52e
Fix emit for ES6 export default class with static initializers. Fixes #5136 .
2015-10-06 12:02:55 -07:00
Nathan Shively-Sanders
78ad0f4c82
Re-enable failing fourslash tests
2015-10-06 10:03:27 -07:00
Yui T
a00e90c170
Add and update tests
2015-10-05 19:03:02 -07:00
Mohamed Hegazy
53cff210fd
Merge pull request #5103 from SaschaNaz/formatStringTemplates
...
Format template internal spaces
2015-10-05 16:01:10 -07:00
Vladimir Matveev
a975895e4d
parse/check/emit shorthand property assignment in destructuring
2015-10-05 14:39:57 -07:00
Anders Hejlsberg
c7fdc0a6e5
Merge pull request #5099 from Microsoft/deferMemberInstantiation
...
Defer member instantiation
2015-10-05 12:46:49 -07:00
Wesley Wigham
28475c345d
Change prologue emit location to inside module IIFEs
2015-10-05 11:22:16 -07:00
Nathan Shively-Sanders
4ecf4f4e71
Merge pull request #5086 from Microsoft/abstract-semicolon-insertion
...
Automatic semicolon insertion for class modifiers
2015-10-05 10:35:42 -07:00