Commit graph

11824 commits

Author SHA1 Message Date
Andy Hanson 4281bf5752 Allow trailing commas in function parameter and argument lists 2016-06-02 08:18:21 -07:00
Anders Hejlsberg 706683d51b Add regression test 2016-06-02 06:54:27 -07:00
Anders Hejlsberg 5f3f2d302f Create separate control flows for property declarations with initializers 2016-06-02 06:47:37 -07:00
Anders Hejlsberg 2517238269 Add non-widening forms of null and undefined 2016-06-02 06:32:14 -07:00
Andy Hanson 3b19825890 Allow wildcard ("*") patterns in ambient module declarations 2016-06-02 05:44:49 -07:00
Vladimir Matveev 92177bee91 initial revision of unit test support for project system in tsserver 2016-06-02 00:03:10 -07:00
zhengbli 0e96c5eaf1 Run fixupParentReferences when parsing isolated jsDocComment 2016-06-01 22:57:25 -07:00
Andy Hanson 9575b3c3ca Revert to old tryLoad implementation 2016-06-01 11:44:12 -07:00
Nathan Shively-Sanders 9a620bf616 Actually merge from master 2016-06-01 11:39:22 -07:00
Nathan Shively-Sanders d111a0f733 Merge branch 'master' into narrow-all-types 2016-06-01 11:27:50 -07:00
Andy Hanson 9179f4ca42 Fix test 2016-06-01 10:43:39 -07:00
Zhengbo Li 166f399d17 Merge pull request #8103 from zhengbli/typedefForJsdoc
[Salsa] Support @typedef for jsdoc
2016-05-31 16:24:44 -07:00
zhengbli eb0f035c78 Remove unused parameter 2016-05-31 16:08:12 -07:00
zhengbli 630517b8ad Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 15:30:42 -07:00
Anders Hejlsberg 4095602ce5 Merge pull request #8849 from Microsoft/outerControlFlows
Improve control flow analysis in function expressions
2016-05-31 14:51:39 -07:00
Zhengbo Li 5c095a8975 Merge pull request #8901 from zhengbli/formatOnTypeCurrentLine1
Not let the "Format on enter" feature delete the indentation of the current line
2016-05-31 14:35:22 -07:00
Anders Hejlsberg 41446fe4c2 Address CR feedback 2016-05-31 14:33:00 -07:00
zhengbli 58fdd011df avoid eating all preceding empty lines 2016-05-31 14:11:39 -07:00
zhengbli 241920c960 Merge branch 'outerControlFlows' of https://github.com/Microsoft/TypeScript into typedefForJsdoc
# Conflicts:
#	src/compiler/binder.ts
2016-05-31 14:02:45 -07:00
Andy Hanson d4b8889984 Respond to more PR comments 2016-05-31 12:58:05 -07:00
zhengbli 3433a7800a Fix formatOnEnter for double newlines 2016-05-31 12:35:12 -07:00
Andy Hanson f4d6b67cb0 Respond to PR comments 2016-05-31 11:39:11 -07:00
Yui 35b8b42b55 Only check if the extensions match (#8870) 2016-05-31 11:16:56 -07:00
Zhengbo Li e93f9df955 Fix broken test 2016-05-31 10:48:25 -07:00
Andy Hanson a0546a9310 Improve loadModuleFromFile code 2016-05-31 10:41:46 -07:00
Nathan Shively-Sanders 44c5a816e3 Merge pull request #8897 from Microsoft/fix-runtest-browser-running-zero-tests
Remove redundant parameter to `writeTestConfigFile`
2016-05-31 10:39:34 -07:00
Zhengbo Li 5261467a32 Merge branch 'master' of https://github.com/Microsoft/TypeScript into typedefForJsdoc 2016-05-31 10:39:23 -07:00
Nathan Shively-Sanders e4ca76898f Remove redundant parameter to writeTestConfigFile
It allowed a new parameter to silently succeed, causing runtests-browser
to run zero files.
2016-05-31 10:17:45 -07:00
Andy Hanson fa16a99514 Allow an import of "foo.js" to be matched by a file "foo.ts" 2016-05-31 09:26:21 -07:00
Andy 13900aaf27 Merge pull request #8863 from Microsoft/navbar_readonly_property
Add tests for private and readonly parameter properties in navbar
2016-05-31 05:49:09 -07:00
zhengbli 59b188d4ca Add navigationTo test for jsdoc typedef 2016-05-31 02:05:26 -07:00
zhengbli 18ee4b0a1e cr feedback 2016-05-30 22:11:43 -07:00
Anders Hejlsberg 5b4dffc2d7 More critical path optimization in binder 2016-05-29 16:04:34 -07:00
Anders Hejlsberg 66e9f7dc21 Optimize critical code paths in binder 2016-05-28 16:00:31 -07:00
Anders Hejlsberg 4d730a5c6a Update test 2016-05-28 06:45:10 -07:00
Anders Hejlsberg e8ecf0e615 Track return statements in IIFE using a flow label 2016-05-28 06:43:28 -07:00
Vladimir Matveev e9de47f6a9 Merge pull request #8869 from Microsoft/reachability-empty-default
check that default clause is non-empty in reachability checks
2016-05-27 16:15:09 -07:00
Vladimir Matveev 92938cd8df check that default clause is non-empty in reachability checks 2016-05-27 15:38:59 -07:00
Andy Hanson f3d1b46dcb Add tests for private and readonly parameter properties in navbar 2016-05-27 10:40:28 -07:00
Vladimir Matveev f07b4ba9d7 Merge pull request #8774 from Microsoft/parallel-tests
run tests in parallel by equally dividing them between workers
2016-05-27 10:38:29 -07:00
Vladimir Matveev eab2511989 update signature of finishWorker 2016-05-27 09:51:30 -07:00
Sheetal Nandi 35156527a3 Merge pull request #8789 from Microsoft/getSymbolAtAliasLocation
Do not resolve alias when getting symbol of import equal's right hand side
2016-05-27 09:27:23 -07:00
Andy a1f110f932 Merge pull request #8812 from Microsoft/navbar_root
Always include a root node in the navigation bar.
2016-05-27 06:56:53 -07:00
Andy Hanson b2664e7f84 Use a JSON.stringify replacer function instead of changing the value beforehand 2016-05-27 06:27:13 -07:00
Mohamed Hegazy 5d9c871d95 Mark diagnostics, and skipDefaultLibCheck as internal 2016-05-26 17:12:13 -07:00
Mohamed Hegazy 3b7814be89 Reorder options alphabetically 2016-05-26 17:04:10 -07:00
Anders Hejlsberg 1647d20d90 Fix linting errors 2016-05-26 16:50:36 -07:00
Anders Hejlsberg e5e21f9b5e Add new tests 2016-05-26 16:26:40 -07:00
Anders Hejlsberg d20664aa69 Fix test 2016-05-26 16:26:30 -07:00
Nathan Shively-Sanders 154729d40e Merge pull request #8770 from Microsoft/apparent-members-for-type-parameters-constrained-by-any
Apparent members for type parameters constrained by any
2016-05-26 16:26:28 -07:00