BigAru
4b95c1fbf2
optimize treeToArray
2019-03-29 16:50:06 +01:00
BigAru
dd89a49b1d
copy comments from string to template literal
2019-03-29 12:58:17 +01:00
BigAru
17f3861699
copy comments from template literal to string
2019-03-27 22:37:03 +01:00
BigAru
9fa112ee34
test also the output from visibility tests
2019-03-27 14:46:28 +01:00
BigAru
834c5df7b0
add support for hex and unicode escapes
2019-03-27 14:31:26 +01:00
BigAru
8ef6990acd
catch case when there is only single expr and optimize arrayToTree
2019-03-27 14:01:09 +01:00
BigAru
935cf04e40
optimize and add more tests for parenthesized case
2019-03-27 13:24:01 +01:00
BigAru
2a15acbbfd
refactor creation of template expression
2019-03-24 19:14:19 +01:00
BigAru
29fc8c30ba
support case when variable is re-assigned
2019-03-24 16:52:26 +01:00
BigAru
1bcd8da415
clean test cases
2019-03-24 16:52:26 +01:00
BigAru
d2ab0bd05a
support single quotes when decoding raw string
2019-03-24 16:52:26 +01:00
BigAru
6a1df730c5
complete handling for octal escape
2019-03-24 16:52:26 +01:00
BigAru
806eb125d9
add skeleton for handling octal escape
2019-03-24 16:52:26 +01:00
BigAru
cf25c12d81
add test cases
2019-03-24 16:52:25 +01:00
BigAru
3ce216849a
extract getEdits for template literal
2019-03-24 16:52:25 +01:00
BigAru
16109dfd00
optimize templateLiteral check
2019-03-24 16:52:25 +01:00
BigAru
2b08bd3faf
change from tuple to object literal
2019-03-24 16:52:25 +01:00
BigAru
9b9aa350af
optimize getEdits string concatenation
2019-03-24 16:52:25 +01:00
BigAru
ad0614abea
extract getEdits for string concatenation
2019-03-24 16:52:25 +01:00
BigAru
08ed6cf8bd
optimize nodesToTemplate
2019-03-24 16:52:25 +01:00
BigAru
6721966504
extract creation of templateHead
2019-03-24 16:52:25 +01:00
BigAru
cba0ddcbde
only show toString if expression is not binary
2019-03-24 16:52:24 +01:00
BigAru
1594468250
add possibility to invoke from parentheses
2019-03-24 16:52:24 +01:00
BigAru
74e3cd758e
remove parentheses also when expression at ending
2019-03-24 16:52:24 +01:00
BigAru
7d9e8f4e21
treat corner cases
2019-03-24 16:52:24 +01:00
BigAru
882e616009
optimize preceding expression
2019-03-24 16:52:24 +01:00
BigAru
6de23d766a
do not offer refactoring for tagged templates
2019-03-24 16:52:24 +01:00
BigAru
6fe4663d92
combine preceding expressions to one
2019-03-24 16:52:24 +01:00
BigAru
76ce1c67ac
fix test case
2019-03-24 16:52:24 +01:00
BigAru
3b284886b1
add toString visibility from expression and from middle part
2019-03-24 16:52:23 +01:00
BigAru
576271ef55
catch empty head of template literal
2019-03-24 16:52:23 +01:00
BigAru
2b299943f9
complete toString
2019-03-24 16:52:23 +01:00
BigAru
3d2b552fd3
complete toTemplate
2019-03-24 16:52:23 +01:00
BigAru
fc13b2b43a
add test cases
2019-03-24 16:52:23 +01:00
BigAru
b84f95dc5d
add working conversion to template literal
2019-03-24 16:52:23 +01:00
BigAru
03f0f88101
add diagnostic messages
2019-03-24 16:52:23 +01:00
BigAru
6952b1f9a7
add visibility tests
2019-03-24 16:51:22 +01:00
BigAru
2bb2a8246a
add test cases
2019-03-24 16:51:22 +01:00
BigAru
7620615212
add test cases
2019-03-24 16:51:22 +01:00
BigAru
2db0745b64
add skeleton
2019-03-24 16:51:22 +01:00
Wesley Wigham
e20b87f66d
Add script for posting perf results back to GH ( #30526 )
...
* Add script for posting perf results back to GH
* Slightly more logging, use html url, not api url, lol
* Log even more, nonzero exit code on error
2019-03-22 17:39:20 -07:00
Gabriela Araujo Britto
0f6f3b79b5
Fix find all references of inherited constructor ( #30514 )
...
* recursively look for inherited constructor references
* add test
* remove outdated comment
* add tests
* move function
* improve tests
* minor refactor
* fix convert params refactoring to deal with inherited constructor calls
* simplify refactor test
2019-03-22 15:17:50 -07:00
Wesley Wigham
1639a5a2c2
Handle huge unions better in createUnionOrIntersectionProperty ( #30411 )
...
* Handle huge unions better in createUnionOrIntersectionProperty
* Mimic first-in-wins behavior of pushIfUnique to retain order
* !props -> props.length === 0 (why dont we warn on that ffs)
* Avoid collection into an array if there are no properties
2019-03-22 09:56:39 -07:00
Wesley Wigham
b86dea03f2
Fix crash caused by cyclic defaults ( #30532 )
2019-03-21 18:27:14 -07:00
Sheetal Nandi
e72f006664
Merge pull request #30524 from Microsoft/moduleResolutionError
...
Report output file not built error for any module resolution that ends up to source file
2019-03-21 10:05:49 -07:00
Sheetal Nandi
8da384d32a
Report output file not built error for any module resolution that ends up to source file
...
Fixes #29918
2019-03-21 08:55:12 -07:00
TypeScript Bot
adf760acf0
Update user baselines ( #30521 )
2019-03-21 08:33:22 -07:00
Ron Buckton
2932421370
Merge pull request #30495 from Microsoft/fix29427
...
Adjust offset to account for 'this' parameter when emitting parameter decorators
2019-03-20 12:56:50 -07:00
Sheetal Nandi
800f7a3447
Merge pull request #30414 from Microsoft/jsSyntaxCompletions
...
Filter ts only keywords from js file completion
2019-03-20 10:38:11 -07:00
Sheetal Nandi
fa9705455f
Merge pull request #30438 from Microsoft/tsconfigChangeDetection
...
Check oldest output time with tsconfig time to see if its out of date
2019-03-20 10:28:23 -07:00