Wesley Wigham
1cbace6eee
Remove secondary reference lookup implementation ( #32016 )
...
* Remove secondary reference lookup implementation
* Remove TODO
2019-06-21 13:26:29 -07:00
Josh Goldberg
ca00b3248b
Added --noImplicitThis code fix for functions used as object properties ( #31138 )
...
* Added --noImplicitThis code fix for functions used as object properties
Before trying out all the various possibilities for where these functions could be used, I figured I'd start out with a relatively simple use case to verify this is the right approach. Is it? 😄
Starts on #28964 .
* Fixed function expression names; included new baselines
* Got JSDocs to work, hooray!
* Added test for 'any' case of no function uses
* Refactored for inferFunctionReferencesFromUsage
* Fixed inference bug: undefined references cause parameters to default
* Removed dead code comments
2019-06-17 19:00:15 -07:00
Ron Buckton
3d2af9ff33
Relocate Debug namespace to reduce duplication ( #31524 )
2019-05-22 11:20:29 -07:00
Sheetal Nandi
db150517d7
Ignore drive letters when comparing casings of the files with forceConsistentCasingInFileNames
...
Fixes #31327
2019-05-21 09:32:17 -07:00
Collins Abitekaniza
7016d45447
Better errors for indexing gettable/settable values ( #26446 )
...
* give suggestions when index signature given
* add tests for noImplicitAny indexing on Object
* remove comments regarding error messages
* recommend set if el is on RHS of assignment else get
* add new baseline tests
2019-04-30 08:31:37 -07:00
Sheetal Nandi
94ee0dc769
Merge pull request #31100 from Microsoft/tsBuildCacheModuleResolution
...
Cache module resolutions across tsbuild to be able to resolve the modules faster
2019-04-26 07:33:59 -07:00
Wenlu Wang
b8e3c41ee1
fix jsdoc iterator on expression of export assignment ( #30558 )
2019-04-25 14:53:06 -07:00
Kagami Sascha Rosylight
1a75d525fa
add ES2020 matchAll APIs ( #30936 )
2019-04-25 14:11:50 -07:00
Andy Hanson
6e4c150d6b
When function parameters span multiple lines, make the function span start at the ( ( #26907 )
...
* When function parameters span multiple lines, make the function span start at the `(`
* Undo unnecessary change
2019-04-25 10:53:39 -07:00
Sheetal Nandi
3264b64f08
Reuse map if module resolution is same for redirected and own files
2019-04-24 11:57:59 -07:00
Sheetal Nandi
15ae8a7273
Make sure to emit again if change in compiler option affects emit
...
Fixes #30736
2019-04-16 16:18:37 -07:00
Gabriela Araujo Britto
bb5eb025a8
Handle imports and exports in 'convert parameters to destructured object' ( #30475 )
...
* add test for imported function
* start to implement import references check
* fix imported function test
* skip alias when looking for symbol target
* recognize ES6 imports
* recognize some export syntax
* add tests for imports/exports
* add test for imported function
* start to implement import references check
* fix imported function test
* skip alias when looking for symbol target
* recognize ES6 imports
* recognize some export syntax
* add tests for imports/exports
* add test for imported function
* start to implement import references check
* fix imported function test
* recognize ES6 imports
* recognize some export syntax
* add mode import/export syntax cases
* fix entryToFunctionCall to deal with new calls through property/element access expressions
* add more tests for imports/exports
* allow function and class declarations that have no name but have a default modifier
* rename tests
* fix conflict
* fix tests
* add test for nameless class
* rename function
* minor refactor
* remove old tests
* delete old test
* refactor as suggested
* use getContainingFunctionDeclaration
2019-03-28 13:34:29 -07:00
Sheetal Nandi
03aee92782
PR feedback
2019-03-14 14:15:06 -07:00
Sheetal Nandi
bd229b5ed1
Exclude Json files from Project reference redirects from files to be emitted list
...
Fixes #30382
2019-03-14 11:22:26 -07:00
Sheetal Nandi
b6d520a7a5
Handle recursive symlinks when matching file names
...
Fixes #28842
2019-03-13 12:30:47 -07:00
Wenlu Wang
d2476759e2
add related error span for default exports ( #25396 )
...
* add related error span for default exports
* accept baseline
* stash
* accept baseline and fix lint
* update testcase
* Add missing semicolon
2019-03-12 13:15:14 -07:00
Sheetal Nandi
97fbc87e98
Merge pull request #29813 from Microsoft/incrementalBuildInfo
...
Build .tsbuildinfo file when building using tsc --b
2019-03-08 15:49:44 -08:00
Ron Buckton
8e5178d6e6
Merge branch 'master' into transformFlagCleanup
2019-03-07 10:46:38 -08:00
Ron Buckton
cc9e2f4e57
Remove Super/ContainsSuper transform flags
2019-03-06 14:33:42 -08:00
Sheetal Nandi
cd195c91c6
Add options tsBuildInfoFile to provide name for the buildinfo file
2019-03-01 10:28:57 -08:00
Ron Buckton
b02dab4e00
Remove 'this'-related tx flag usage from transformConstructorBody
2019-02-27 18:11:01 -08:00
Sheetal Nandi
9730cfa845
Dont emit sourceMapUrl from prepend text into the --out file
2019-02-22 14:39:47 -08:00
Sheetal Nandi
4dc8ac7500
Fix the crash found while compiling src/compiler
2019-02-22 10:53:31 -08:00
Sheetal Nandi
1c8970d30b
Handle synthetic references better
2019-02-20 11:37:45 -08:00
Sheetal Nandi
0cd7074e1b
Handle emit when using prepends and the referencing project has --stripInternal true
2019-02-20 10:41:28 -08:00
Sheetal Nandi
a0f3420001
Add sections to the prepend (to be later used for stripInternal)
2019-02-20 10:41:26 -08:00
Sheetal Nandi
a881391dc9
Merge branch 'master' into incrementalBuildInfo
2019-02-20 10:37:44 -08:00
Anders Hejlsberg
b57956673e
Move TypeFlags.PropapatingFlags to ObjectFlags to free up 3 flags
2019-02-14 14:42:55 -08:00
Sheetal Nandi
b958f1c8b5
Merge branch 'master' into incrementalBuildInfo
2019-02-14 12:19:10 -08:00
Sheetal Nandi
99df3230aa
Merge branch 'master' into incrementalBuildInfo
2019-02-07 15:05:58 -08:00
Kagami Sascha Rosylight
13c72b786e
Merge remote-tracking branch 'upstream/master' into es2019
2019-02-08 06:55:56 +09:00
Ron Buckton
61d13b740e
Merge pull request #29726 from bmeurer/modifierFlagsCache
...
Make modifierFlagsCache mandatory for Node objects
2019-02-07 12:13:46 -08:00
Sheetal Nandi
212cd62f05
Generate buildInfo for non --out and prepend options as well
2019-02-07 12:10:14 -08:00
Benedikt Meurer
d3e23884c4
Fix linter warnings.
2019-02-07 20:39:03 +01:00
Sheetal Nandi
ab7d65e01f
Merge branch 'master' into usePrependToSkipBuild
2019-02-07 10:39:41 -08:00
Kagami Sascha Rosylight
a8823f5169
Merge branch 'master' into es2019
2019-02-07 10:08:26 +09:00
Klaus Meinhardt
12edac0925
getEffectiveBaseTypeNode: only use JSDoc augments if there is extends ( #29349 )
2019-02-05 15:51:55 -08:00
Sheetal Nandi
d9ead78e8c
Map dts file to sections to write and fix from
2019-02-04 15:02:11 -08:00
Sheetal Nandi
03fa5bd90f
Merge branch 'master' into usePrependToSkipBuild
2019-01-31 22:05:51 -08:00
Sheetal Nandi
38e0d4df0f
Add SourceMapUrl to section
2019-01-31 11:19:55 -08:00
Sheetal Nandi
b15cb6b097
Create nodes for unparsed text, prepend text
2019-01-31 10:44:17 -08:00
Sheetal Nandi
0d9cf96e74
Make the bundle info into buildInfo
2019-01-30 10:07:29 -08:00
Sheetal Nandi
c8ff9ace0e
Merge branch 'master' into prependWithBundleInfo
2019-01-30 09:25:51 -08:00
Anders Hejlsberg
08fe06f527
Merge branch 'master' into constContexts
...
# Conflicts:
# src/compiler/checker.ts
2019-01-29 12:29:30 -08:00
Sheetal Nandi
0aaa880197
Use bundle info to store info about prologues, emit Helpers, references etc
2019-01-29 10:51:22 -08:00
Sheetal Nandi
ff027d41c9
Handle triple slash refs
2019-01-25 14:31:41 -08:00
Sheetal Nandi
c739defe25
Handle prologues in prepend outputs
2019-01-25 14:31:40 -08:00
Ron Buckton
469ab3fdd0
Merge branch 'master' into fix29006
2019-01-24 16:50:50 -08:00
Anders Hejlsberg
beb02703b8
Support '<const> xxx' and 'xxx as const'
2019-01-18 16:16:45 -08:00
Kagami Sascha Rosylight
d8ac9ba414
Merge branch 'master' into es2019
2019-01-16 10:54:46 +09:00