Commit Graph

19827 Commits

Author SHA1 Message Date
Wesley Wigham 4c9ad08610 Add fix for webpack history merge bug (#29339)
* Add fix for webpack history merge bug

* Add test case
2019-03-07 13:34:28 -08:00
Sheetal Nandi 3f7357d37f Merge pull request #30247 from Microsoft/recursiveDirectoryIgnore
Ignore the directories or files in node_modules starting with "." and any file or directory starting with ".git" even in the recursive directory watching logic
2019-03-07 11:24:03 -08:00
Ron Buckton 1c0f9a8ce3 Renumber transform flags 2019-03-07 10:52:17 -08:00
Ron Buckton 8e5178d6e6 Merge branch 'master' into transformFlagCleanup 2019-03-07 10:46:38 -08:00
Anders Hejlsberg a9e924b6f0 Fix check for function type (allow checked type to have overloads) 2019-03-07 07:06:48 -08:00
Ron Buckton 1f212ec265 Remove DestructuringAssignment and Generator flags 2019-03-06 15:04:13 -08:00
Sheetal Nandi ec2ee9ff3a Ignore anything starting with ".git"
Fixes #29782
2019-03-06 15:00:26 -08:00
Sheetal Nandi 79a1f29727 In recursive directory watching ignore folders and files in node_modules starting with "."
Fixes #30004
2019-03-06 14:46:14 -08:00
Ron Buckton cc9e2f4e57 Remove Super/ContainsSuper transform flags 2019-03-06 14:33:42 -08:00
Sheetal Nandi fe9f42480a Handle error when type parameter of mapped type uses private type
Fixes #30201
2019-03-06 13:30:48 -08:00
Ron Buckton 2fb0b85cf0 Restore ContainsLexicalThsi flag for performance 2019-03-06 11:34:28 -08:00
Gabriela Britto d2364f555f Merge pull request #30089 from Microsoft/convert-to-named-parameters
Convert to named parameters
2019-03-06 09:33:01 -08:00
Anders Hejlsberg b34fe67ac5 Fix issue of more inferences leading to worse results 2019-03-05 17:49:58 -08:00
Anders Hejlsberg 6d882513ea Minor change to heuristic for deferring generic calls 2019-03-05 17:45:09 -08:00
Gabriela Araujo Britto 60b2d6a2f5 remove unnecessary closures 2019-03-05 16:56:30 -08:00
Sheetal Nandi d62c8a403c Merge pull request #30107 from Microsoft/applyChangesToOpenFiles
Add UpdateOpen to request
2019-03-05 15:54:34 -08:00
Sheetal Nandi e55fbffed6 Rename the request as updateOpen 2019-03-05 14:34:08 -08:00
Sheetal Nandi 67930ead81 Store semantic diagnostics as well (for future tsc without build but incremental) 2019-03-05 13:51:44 -08:00
Anders Hejlsberg 6c790c02d9 Remove unnecessary excludeArgument array and getExcludeArgument function 2019-03-05 12:42:54 -08:00
Sheetal Nandi 6e1e1e7bd5 Merge branch 'master' into incrementalBuildInfo 2019-03-05 12:02:27 -08:00
Sheetal Nandi ac55310c48 Fix prologue emitting in case of modules with --out scenario 2019-03-05 11:48:09 -08:00
Sheetal Nandi b879b435ef Add tests to verify output of --out with modules as output 2019-03-05 11:08:44 -08:00
Anders Hejlsberg ad823daabb Consistently defer generic functions to second type inference pass 2019-03-05 06:09:54 -08:00
Anders Hejlsberg bf326aaabf Fix lint error 2019-03-04 11:15:09 -08:00
Anders Hejlsberg 549c684517 Minor fix 2019-03-04 11:02:55 -08:00
Anders Hejlsberg 919ade1dbd Improve scheme for creating unique type parameter names 2019-03-04 10:57:08 -08:00
Anders Hejlsberg c344ef3123 Infer higher order function types when possible 2019-03-03 14:34:38 -08:00
Anders Hejlsberg 91f8fc60f1 Defer calls to generic functions returning generic functions 2019-03-02 10:34:23 -08:00
Anders Hejlsberg 3afe0a4d43 Fix out-of-bounds issue in getParameterNameAtPosition 2019-03-01 16:34:09 -08:00
Sheetal Nandi d78335581e Update gulp to build using this branch 2019-03-01 13:44:14 -08:00
Sheetal Nandi 21ea0178c5 Refactor the tests 2019-03-01 13:25:16 -08:00
Gabriela Araujo Britto 98a146dcfc use getTouchingToken 2019-03-01 13:23:59 -08:00
Sheetal Nandi 8e7db4d4b3 Because .tsbuildinfo is flag now, use .tsbuildinfo just like any other output to determine if project needs rebuild 2019-03-01 13:12:19 -08:00
Sheetal Nandi 026c1dd69c Fix the build error 2019-03-01 11:45:47 -08:00
Sheetal Nandi 223d42847b Merge branch 'master' into incrementalBuildInfo 2019-03-01 11:39:44 -08:00
Sheetal Nandi 8b964f445f Fix incorrect message when incremental is false with composite projects 2019-03-01 11:35:48 -08:00
Sheetal Nandi cd195c91c6 Add options tsBuildInfoFile to provide name for the buildinfo file 2019-03-01 10:28:57 -08:00
Sheetal Nandi df9da15abb Incremental false with composite not allowed 2019-03-01 09:39:58 -08:00
Gabriela Araujo Britto cd060e75fe use interface for ValidVariableDeclaration 2019-03-01 09:17:44 -08:00
Anders Hejlsberg 35ebbece49 Minor fixes 2019-03-01 09:12:24 -08:00
Anders Hejlsberg db5ca33e6c Merge branch 'master' into deferGenericFunctionInference 2019-02-28 17:14:11 -08:00
Anders Hejlsberg 23473e021b Skip generic functions along with context sensitive arguments 2019-02-28 17:14:00 -08:00
Gabriela Araujo Britto 1f91aa1c9b remove inlineable 2019-02-28 16:55:40 -08:00
Ron Buckton 86242eed87 Always use same code path when transforming function bodies for es2015 2019-02-28 16:28:25 -08:00
Sheetal Nandi 46ddbff7b1 Fix test by reverting change in textChanges that occured by mistake in 499bc70056 2019-02-28 14:28:27 -08:00
Sheetal Nandi 5fd745d834 Update the tsconfigs 2019-02-28 14:01:40 -08:00
Wesley Wigham b1a73ab560 Resolve aliases to jsx namespace symbol (#30160) 2019-02-28 13:52:57 -08:00
Sheetal Nandi d53efdf380 Changes to generation of .tsbuildinfo:
- If composite or incremental then only the .tsbuildinfo will be generated
- if --out or --outFile the file is outputFile.tsbuildinfo
- if rootDir and outDir then outdir/relativePathOfConfigFromRootDir/configname.tsbuildinfo
- if just outDir then outDir/configname.tsbuild
- otherwise config.tsbuildinfo next to configFile
2019-02-28 13:46:26 -08:00
Anders Hejlsberg 7f5052bf7b Merge pull request #30114 from Microsoft/contextualGenericRestParameter
Improve contextual typing by generic rest parameters
2019-02-28 11:00:12 -10:00
Anders Hejlsberg 237c33b444 Merge pull request #30109 from Microsoft/circularConstraintErrors
Consistently error on circular constraints
2019-02-28 10:57:01 -10:00