Sheetal Nandi
768c9ed8d7
Handle jsx Opening, Closing and Self closing tags
2019-06-06 11:48:45 -07:00
Sheetal Nandi
edad317395
Fourslash server tests
2019-06-06 10:41:33 -07:00
Sheetal Nandi
018026ad52
More tests
2019-06-06 10:05:28 -07:00
Sheetal Nandi
e4a2dd510f
Handle export keyword of export assignment
2019-06-06 09:09:39 -07:00
Sheetal Nandi
64de998356
More tests
2019-06-06 09:01:58 -07:00
Sheetal Nandi
1163a93ed6
Handle default keyword of default export
2019-06-05 16:35:29 -07:00
Sheetal Nandi
e1e1603547
More tests
2019-06-05 16:07:25 -07:00
Sheetal Nandi
d1dc837353
Cache ranges by text
2019-06-05 14:44:19 -07:00
Sheetal Nandi
6dc2ba7939
Take optional string of range text for singleReferenceGroup
2019-06-05 14:43:22 -07:00
Sheetal Nandi
edffcce785
Take optional texts to verify parameter for rangesWithSameTextAreRenameLocations
2019-06-05 13:52:41 -07:00
Sheetal Nandi
35c049949f
More tests
2019-06-05 12:57:09 -07:00
Sheetal Nandi
004488c0c9
Set declaration span only if its not same as own span
2019-06-04 15:37:43 -07:00
Sheetal Nandi
cc1cb54e4b
More tests
2019-06-04 15:11:48 -07:00
Sheetal Nandi
eaeeb06f9a
Handle when declarationSpan from declarationNode is undefined
2019-06-04 13:48:13 -07:00
Sheetal Nandi
424f2c9e00
More tests
2019-06-04 13:06:34 -07:00
Sheetal Nandi
34624a0587
More Tests
2019-06-04 12:05:41 -07:00
Sheetal Nandi
e41533acc7
Handle computed property names
2019-06-03 14:06:30 -07:00
Sheetal Nandi
01bbc4de2e
More tests
2019-06-03 13:55:02 -07:00
Sheetal Nandi
0fee3b023d
Handle destructuring assignments
2019-06-03 13:42:55 -07:00
Sheetal Nandi
c0537d9bad
More tests
2019-05-31 16:19:27 -07:00
Sheetal Nandi
dfb613c6d6
Use for-of declaration list + expression as span for preview
2019-05-31 16:02:31 -07:00
Sheetal Nandi
b61813ea1d
More test cases
2019-05-31 15:58:11 -07:00
Sheetal Nandi
9703b3d6c1
Show property assignment for special property assignments in js files
2019-05-31 14:05:15 -07:00
Sheetal Nandi
bcf7752c1f
More tests
2019-05-31 11:57:43 -07:00
Sheetal Nandi
6c04a0d14e
For property name of binding element use binding element as preview node
2019-05-31 11:33:36 -07:00
Sheetal Nandi
bbd2d00b35
More tests
2019-05-31 11:32:25 -07:00
Sheetal Nandi
15ce996cf5
Export assignment identifier use ExportAssigment as declaration
2019-05-31 11:09:22 -07:00
Sheetal Nandi
2fc1143fe7
More tests
2019-05-31 10:23:07 -07:00
Sheetal Nandi
bbfbf8fa95
Use import export sepcifier as declaration for the property name of import export as well
2019-05-30 14:55:25 -07:00
Sheetal Nandi
f37ae23f7e
More test fixes
2019-05-30 13:17:57 -07:00
Sheetal Nandi
8948fe415f
Rename declarationRange to declarationRangeIndex
2019-05-30 12:45:11 -07:00
Sheetal Nandi
6a961b5bc5
More tests
2019-05-28 16:14:44 -07:00
Sheetal Nandi
1d830ffe7a
Start fixing fourslash tests
2019-05-24 16:29:27 -07:00
Sheetal Nandi
fd86f40d05
Include declarationSpan as relevant declaration span when defintion or other places are declaration name
...
Fixes #30849
2019-05-24 15:44:32 -07:00
Andrew Branch
a2b40292fe
Merge pull request #31542 from andrewbranch/bug/31481
...
Error when writing to rest element range of readonly tuple
2019-05-23 13:38:09 -07:00
Nathan Shively-Sanders
5d9d4b2553
Manually copy just postMessage changes ( #31557 )
...
* Manually copy just postMessage changes
* Update baselines
2019-05-23 13:26:41 -07:00
Nathan Shively-Sanders
4d27361680
Allow JS with isolated modules ( #31483 )
...
* Allow JS with isolated modules
Previously legacy JS code was not allowed; it was required to use ES6
module syntax. Unfortunately, the check happens after parsing but before
binding, and the commonjs module indicator isn't set until binding
because it's not syntactically simple like the ES6 module indicator,
which is set during parsing.
So I decided that JS should be allowed during isolatedModules
unconditionally. We're not going to be transforming it anyway.
* Update baselines
* Switch test to outDir instead of noEmit
2019-05-23 11:09:28 -07:00
Sheetal Nandi
ae7a1b4f56
Merge pull request #31541 from microsoft/packageId
...
Always use resolved file to figure out subModule name in package id
2019-05-23 10:50:13 -07:00
Anders Hejlsberg
e6013335b9
Merge pull request #31537 from microsoft/fixIndexedAccessConstraint
...
Fix indexed access constraint
2019-05-22 18:35:15 -07:00
Anders Hejlsberg
cd7a14ac21
Reuse getSimplifiedTypeOrConstraint function
2019-05-22 17:22:33 -07:00
Andrew Branch
9f6791a5ab
Error when writing to readonly tuple in rest element range
2019-05-22 15:03:17 -07:00
Sheetal Nandi
5d188a8c68
Always use resolved file to figure out subModule name in package id
...
Fixes #30429
2019-05-22 14:30:56 -07:00
Andrew Branch
eecb6d9049
Add failing test
2019-05-22 13:39:05 -07:00
Sheetal Nandi
85d3c5d7a1
Trace Package id at the module resolution site
2019-05-22 12:35:20 -07:00
Sheetal Nandi
431f0d6d8c
Add test case for #30429
2019-05-22 11:22:07 -07:00
Ron Buckton
6a559e37ee
Fix crash when checking invalid object rest ( #31530 )
2019-05-22 11:20:57 -07:00
Ron Buckton
3d2af9ff33
Relocate Debug namespace to reduce duplication ( #31524 )
2019-05-22 11:20:29 -07:00
Ron Buckton
c3055e585d
Fix compiler crash with object rest in catch binding ( #31522 )
2019-05-22 11:20:07 -07:00
Ron Buckton
b3dc32fec7
Reset error record in downlevel for-of ( #31519 )
2019-05-22 11:18:07 -07:00
Ron Buckton
7611c5b931
Fix for computed properties in instance initializers ( #31517 )
2019-05-22 11:17:54 -07:00