Nathan Shively-Sanders
44e1140cf6
Rename tests
2017-02-24 14:53:35 -08:00
Nathan Shively-Sanders
82b5655e66
Special prop assignment symbol applies only to lhs
...
In a Javascript file, the binder assigns a SpecialPropertyAssignment
marker to the BinaryExpression node of several kinds of special
assignments. Then it binds a special symbol whose declaration is that
BinaryExpression node. But the symbol only applies to the left-hand side
of the assignment. The right-hand side is an independent expression that
should have its own symbols.
Previously, symbol lookup in the checker didn't check whether a
Javascript node that was part of a special property assignment came from
the lhs or the rhs. So the right-hand side would also incorrectly get
the special symbol intended for the left-hand side.
`getSpecialPropertyAssignmentSymbolFromEntityName` in the checker now
checks that its argument is the left-hand side of an assignment before
returning a special property assignment symbol.
2017-02-24 14:22:55 -08:00
Zhengbo Li
2d4b4c9c80
Merge pull request #14014 from zhengbli/12233
...
Fix jsdoc typedef symbol scope + avoid bind twice if the type has a namespace prefix
2017-02-23 21:26:32 -08:00
Ron Buckton
cf72ceb093
Merge branch 'master' into asyncGenerators
2017-02-16 17:22:43 -08:00
Arthur Ozga
8a5bebe4de
Merge pull request #14097 from aozgaa/MissingPropertyFix
...
Missing property fix
2017-02-16 14:04:51 -08:00
Arthur Ozga
6e198f9c51
Merge branch 'master' into MissingPropertyFix
2017-02-16 13:40:27 -08:00
Arthur Ozga
1b6cf97766
widen type, index signature, and add tests
2017-02-16 13:37:35 -08:00
Andy Hanson
7fd711c81d
Handle undefined import name
2017-02-16 13:10:03 -08:00
Mohamed Hegazy
6c58938743
Merge pull request #13648 from Microsoft/functionAndClassProperties
...
Function and class properties
2017-02-16 12:27:14 -08:00
Arthur Ozga
18cba86e74
add tests
2017-02-14 18:10:21 -08:00
Arthur Ozga
f047a6ea31
wip testing
2017-02-14 17:57:25 -08:00
Arthur Ozga
9897c69492
wip
2017-02-14 17:30:28 -08:00
Kanchalai Tanglertsampan
e5cfe5c348
Merge branch 'master' into wip-master-statelessOverload
...
# Conflicts:
# src/compiler/factory.ts
2017-02-14 15:21:06 -08:00
Ryan Cavanaugh
aec310996c
Language service extensibility
2017-02-14 13:35:16 -08:00
Zhengbo Li
1f484a9a03
Merge pull request #13966 from zhengbli/13110
...
Delete the following new line when removing unused locals
2017-02-14 13:15:17 -08:00
Andy Hanson
e74c03aca3
Add missing filename to tsx test
2017-02-14 12:17:18 -08:00
Andy
0417e3f909
Merge pull request #14050 from Microsoft/tsx_completion
...
Detect non-tag uses of `<` in TSX completions
2017-02-14 12:13:15 -08:00
Arthur Ozga
c57fc1fa54
Merge pull request #14055 from aozgaa/UnduplicateAbstractMethodCodeFix
...
Unduplicate missing abstract member codefix
2017-02-14 11:42:28 -08:00
Mohamed Hegazy
db0e3762e9
Merge remote-tracking branch 'origin/master' into functionAndClassProperties
2017-02-13 21:02:17 -08:00
Mohamed Hegazy
90eef8940e
accept baseline change
2017-02-13 20:54:57 -08:00
Arthur Ozga
21355982fd
Offer missing abstract codefix once
...
* per class that is missing potentially many abstract members.
2017-02-13 16:58:14 -08:00
Andy Hanson
aa5c88f5a6
Detect non-tag uses of < in TSX completions
2017-02-13 14:44:05 -08:00
Ron Buckton
dedf4a7538
Merge branch 'master' into asyncGenerators
2017-02-13 13:53:34 -08:00
Nathan Shively-Sanders
46d9f37020
Merge pull request #12033 from Microsoft/add-undefined-to-default-valued-parameters
...
Add undefined to default-initialised parameters
2017-02-13 13:30:46 -08:00
Zhengbo Li
20cc428785
Fix jsdoc typedef symbol scope + avoid bind twice if the tag has a jsdoc namespace
2017-02-10 19:24:56 -08:00
Ron Buckton
3e427f4860
Merge branch 'master' into asyncGenerators
2017-02-10 09:46:06 -08:00
Mohamed Hegazy
4b8396bb6b
Merge branch 'master' into functionAndClassProperties
2017-02-09 15:28:31 -08:00
Mohamed Hegazy
4ec68481ba
Merge pull request #13903 from Microsoft/jsPropertyWidening
...
Widen special JS property declarations to match regular property declarations
2017-02-09 15:08:35 -08:00
Kanchalai Tanglertsampan
6dec0f5ea6
Add language service test when element type is a union type
2017-02-09 12:40:08 -08:00
zhengbli
e238b38278
Update some tests because the original marker will be deleted
2017-02-08 19:32:02 -08:00
zhengbli
dc78d3314f
Add test
2017-02-08 15:44:54 -08:00
Andy
51d4970ce0
Merge pull request #13760 from Microsoft/find_all_refs_tests
...
Change find-all-references tests to test for groups
2017-02-08 07:05:36 -08:00
Mohamed Hegazy
914150f2f1
Widen special JS property declarations to match regular property declarations
2017-02-06 09:57:12 -08:00
Kanchalai Tanglertsampan
56f31c3266
Address code review
2017-02-03 10:54:15 -08:00
Zhengbo Li
df643d8d02
Merge pull request #13405 from zhengbli/13137
...
Support import fix for missing namespace
2017-02-02 16:11:08 -08:00
zhengbli
e532744f16
Add test case for nested namespace
2017-02-02 14:14:40 -08:00
zhengbli
62f716aaa6
avoid removing comments when removing unused locals
2017-02-02 13:50:34 -08:00
Ron Buckton
5d415cac52
Merge branch 'master' into asyncGenerators
2017-02-02 12:11:44 -08:00
Zhengbo Li
12e8f91bf2
Merge pull request #13831 from zhengbli/importFixCasing
...
Fix casing in import quick fix
2017-02-02 10:05:11 -08:00
Andy Hanson
2f49eeca26
Remove useless test file
2017-02-02 08:29:00 -08:00
Zhengbo Li
6c56b3d957
Fix casing in import quick fix
2017-02-02 02:17:49 -08:00
Mohamed Hegazy
52841924da
Support string literal completion in case labels
2017-01-31 20:24:36 -08:00
Mohamed Hegazy
3b1b5e241f
Add string literal completion for equality expression
2017-01-31 16:44:59 -08:00
Kanchalai Tanglertsampan
42c0816164
Merge branch 'master' into wip-master-statelessOverload
2017-01-31 11:33:07 -08:00
Andy Hanson
8515f7e2b5
Change find-all-references tests to test for groups
...
* Also always test for isWriteAccess and isDefinition
2017-01-31 06:59:16 -08:00
Mohamed Hegazy
1eb7b9183b
Merge branch 'master' of https://github.com/Microsoft/TypeScript
2017-01-30 16:42:44 -08:00
Daniel Rosenwasser
57e224ce3a
Merge branch 'master' into fixMissingThis
2017-01-30 12:01:12 -08:00
Kanchalai Tanglertsampan
989f9d82fd
Merge branch 'master' into wip-master-statelessOverload
2017-01-26 12:53:04 -08:00
Nathan Shively-Sanders
01a9e4f9be
isOptionalParameter says unused IIFE arguments are optional
...
Related to adding undefined, though not strictly the same, this change
adds '?' to unused IIFE parameters in quick info.
2017-01-26 12:01:27 -08:00
Andy
65125791d2
Merge pull request #13643 from Microsoft/find_all_refs_default
...
Support find-all-references for default exports
2017-01-26 10:33:17 -08:00