Ryan Cavanaugh
2f447ee005
Merge pull request #5876 from RyanCavanaugh/javaScriptPrototypes
...
JavaScript prototype class inference
2015-12-14 11:42:18 -08:00
Anders Hejlsberg
3c8ad42a62
Adding regression test
2015-12-13 18:32:46 -08:00
Anders Hejlsberg
87036fe9f7
Merge pull request #6058 from Microsoft/delayAccessorBodyCheck
...
Defer checks of accessor bodies in object literals
2015-12-12 15:45:05 -08:00
Wesley Wigham
7e5b83c2b3
Merge pull request #6042 from weswigham/fourslash-this-predicates
...
Add language service tests for this predicates
2015-12-11 16:33:36 -08:00
Wesley Wigham
8ecb045271
accept baseline
2015-12-11 16:29:39 -08:00
Wesley Wigham
5ee0957974
Merge pull request #6044 from weswigham/redeclared-export-type
...
Exempt one type declaration from the redeclared export check - Fix #6043
2015-12-11 16:15:22 -08:00
Wesley Wigham
f3b55b8198
whitespace
2015-12-11 16:14:47 -08:00
Vladimir Matveev
f51de5b28f
Merge pull request #5860 from Microsoft/superPropertiesInES6
...
do not error on 'super' property access in ES6
2015-12-11 13:20:20 -08:00
Wesley Wigham
14374e6253
split tests by completions/quick info
2015-12-10 20:00:52 -08:00
Anders Hejlsberg
ff784770be
Merge pull request #5949 from Microsoft/typeParametersAsConstraints
...
Type parameters as constraints
2015-12-10 16:53:59 -08:00
Anders Hejlsberg
2e5a4ea983
Adding regression test
2015-12-10 16:19:02 -08:00
Anders Hejlsberg
5cb2b6afde
Adding tests
2015-12-10 14:09:18 -08:00
Wesley Wigham
139f10fb44
test for and fix #6043
2015-12-10 14:08:50 -08:00
Anders Hejlsberg
3055445d27
Adding test
2015-12-10 13:54:58 -08:00
Wesley Wigham
591f96321c
Add language service tests for this predicates
2015-12-10 13:25:26 -08:00
Wesley Wigham
58400ed771
Merge pull request #5906 from weswigham/this-type-guards
...
This type predicates for type guards
2015-12-09 17:22:39 -08:00
Daniel Rosenwasser
6e06752c05
Merge pull request #5972 from reavowed/master
...
Limit error reporting for methods to the method name
2015-12-09 17:14:42 -08:00
Wesley Wigham
8e586943a1
accept baselines
2015-12-09 16:43:45 -08:00
Wesley Wigham
2885eb2047
Merge branch 'master' into this-type-guards
2015-12-09 16:34:42 -08:00
Daniel Rosenwasser
ecfeb21965
Merge pull request #6004 from Microsoft/IICEs
...
Fix code for immediately 'new'-ed/invoked class expressions
2015-12-09 14:15:38 -08:00
Daniel Rosenwasser
025210058b
Accepted project baselines over and over until I hit a fixed point where everything passes.
2015-12-08 18:13:51 -08:00
Daniel Rosenwasser
222cd8e5fc
Accepted baselines.
2015-12-08 17:57:41 -08:00
Wesley Wigham
dc765b8b5a
accept new baseline
2015-12-08 17:55:05 -08:00
Daniel Rosenwasser
e4c5676f2e
Added test for immediately invoked class expression.
2015-12-08 17:54:33 -08:00
Daniel Rosenwasser
0c4ac799d9
Accepted project baselines.
2015-12-08 17:52:06 -08:00
Daniel Rosenwasser
61972a9f07
Accepted baselines for non-project tests.
2015-12-08 17:51:10 -08:00
Daniel Rosenwasser
c8baadfbc2
Updated unit test.
2015-12-08 17:49:29 -08:00
Wesley Wigham
b0bfa0f0dc
Merge branch 'master' into this-type-guards
2015-12-08 17:48:33 -08:00
Wesley Wigham
0228ec3ced
preserve some old behavior at @DanielRosenwassers request
2015-12-08 17:45:11 -08:00
Ryan Cavanaugh
383cbf06c4
Merge pull request #5996 from RyanCavanaugh/fix5994
...
Disallow modifiers in object literal property assignment
2015-12-08 17:40:50 -08:00
Wesley Wigham
459430165d
grand unified theory of predicate types
2015-12-08 17:08:57 -08:00
Wesley Wigham
b6eb4ae10f
fix generic instantiation, nested this guards now work
2015-12-08 15:00:47 -08:00
Ryan Cavanaugh
992bd7a2e4
Merge pull request #5993 from RyanCavanaugh/fix5991
...
Parse JSX attributes as AssignmentExpressions
2015-12-08 14:40:55 -08:00
Vladimir Matveev
f3e4befc3e
merge with master
2015-12-08 13:28:55 -08:00
Vladimir Matveev
268e7c0d09
Merge remote-tracking branch 'origin/master' into elideExportStarForNonValues
2015-12-08 13:15:56 -08:00
Ryan Cavanaugh
964fbea9c1
Fix up for 'async'
2015-12-08 10:57:33 -08:00
Ryan Cavanaugh
92d7d1c953
Disallow modifiers in object literal property assignment
...
Fixes bug #5994
2015-12-08 10:11:29 -08:00
Ryan Cavanaugh
51c547428b
Parse JSX attributes as AssignmentExpressions
...
We should issue an error when parsing `<div x={1, 2} />` as the comma operator is not a legal production in a JSX Expression
Fixes (mitigates?) bug #5991
2015-12-08 09:53:47 -08:00
SaschaNaz
595f134e8b
space around arrow
2015-12-09 00:02:10 +09:00
Iain Monro
46f1a2cc5d
Revert change to abstract-method-with-body error location
2015-12-08 12:25:45 +00:00
Wesley Wigham
be6e341d2a
Fix narrowing, interfaces. Expose issue with generic instantiation
2015-12-07 18:16:05 -08:00
yaoyao
e95ae4f100
Improve 'Cannot compile modules unless the '--module' flag is provided.' message
2015-12-08 08:56:41 +08:00
Daniel Rosenwasser
b4f4dadeb6
Merge pull request #5979 from DanCorder/5058
...
Fix for #5058 - Exclude implemented interface functions from autocompletion suggestions.
2015-12-07 15:06:53 -08:00
Dan Corder
c6feaa016a
Remove unnecessary I2 from test case
2015-12-07 22:43:44 +00:00
Ryan Cavanaugh
c97dffff3b
Support 'this' in inferred method bodies
2015-12-07 11:55:30 -08:00
Dan Corder
ff4147af01
Fix for #5058 - Exclude implemented interface functions from autocompletion suggestions.
2015-12-07 19:47:56 +00:00
Ryan Cavanaugh
04f8c32d32
Identify JSX closing tags as identifiers so they emit correctly
...
Fixes bug #5955
2015-12-07 11:07:37 -08:00
Mohamed Hegazy
a405afd40c
Merge pull request #5971 from pimterry/typings-non-string
...
Gracefully handle errors where 'typings' is not a string (fixes #4828 )
2015-12-07 10:03:22 -08:00
Iain Monro
e22863238a
Limit error reporting for methods to the method name
2015-12-07 17:37:27 +00:00
Tim Perry
384ee18c7b
Gracefully handle errors where 'typings' is not a string ( fixes #4828 )
2015-12-07 18:25:25 +01:00