Commit graph

732 commits

Author SHA1 Message Date
Mohamed Hegazy ccc60c8b3b Revert "[Master] wip-dynamic import" (#16264) 2017-06-05 10:49:20 -07:00
Yui 9d16d34c6a Merge pull request #14774 from Microsoft/master-dynamicImport
[Master] wip-dynamic import
2017-06-05 06:59:14 -07:00
Yui T 2f476bf22f Merge branch 'master' into master-dynamicImport 2017-06-02 09:10:20 -07:00
Yui T e6d7327c3f Address PR: error message, fix capitalization, only allow functionLikeDeclaration and ImportCall for create Promise, use fall through comment 2017-06-01 23:21:59 -07:00
Andrew Casey cd84d2a85a Use emptyArray, rather than [] 2017-06-01 19:05:07 -07:00
Andrew Casey 9d0bbc4e44 Apply --checkJs to bind diagnostics as well as check diagnostics 2017-06-01 18:10:52 -07:00
Nathan Shively-Sanders 2dd6627022 Report jsdoc syntax errors when checkJs is on 2017-05-30 13:32:46 -07:00
Kanchalai Tanglertsampan faab927c8d Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/checker.ts
#	src/compiler/emitter.ts
#	src/compiler/parser.ts
#	src/compiler/transformers/module/module.ts
#	src/compiler/transformers/module/system.ts
2017-05-24 11:26:06 -07:00
Donald Pipowitch e4d6752a93 add createProgram docs (#15697)
* add `createProgram` docs

* updated `createProgram` docs
2017-05-23 10:40:46 -07:00
Andy 38ece3b703 Merge pull request #15737 from Microsoft/findAllRefs_module
Support find-all-references for a module specifier
2017-05-19 08:11:56 -07:00
Andy Hanson 0ff187c8ac Remove 'isDeclarationFile()' function, use '.isDeclarationFile' 2017-05-17 08:12:23 -07:00
Alex Eagle 4240f6f5d9 Extract diagnostics formatter used by --pretty
This allows compilers other than tsc.js to display nice in-context diagnostics
2017-05-12 16:19:46 -07:00
Andy Hanson 71fb02c099 Support find-all-references for a module specifier 2017-05-10 11:02:17 -07:00
Kanchalai Tanglertsampan 1b7d3bfa07 Merge branch 'master' into master-dynamicImport 2017-05-04 10:14:32 -07:00
Arthur Ozga 2150a7796b Merge pull request #15261 from aozgaa/moduleReuse
Reuse Module Resolutions from Unchanged Files
2017-05-01 17:49:44 -07:00
Arthur Ozga 60825143a4 respond to comments 2017-05-01 17:49:19 -07:00
Arthur Ozga 2118de09e7 Simplify returns 2017-05-01 15:16:42 -07:00
Arthur Ozga ef1cd50dfc clarifying comments 2017-05-01 11:47:12 -07:00
Arthur Ozga c63d6d145a Avoid double-resolving modified files 2017-04-28 16:27:41 -07:00
Arthur Ozga 86d7031932 inline createOldProgramState 2017-04-28 10:40:31 -07:00
Arthur Ozga 6547c1816f check ambient modules before reusing old state 2017-04-27 20:27:48 -07:00
Yui T feb41f7d7c Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/diagnosticMessages.json
#	src/compiler/program.ts
2017-04-26 15:35:30 -07:00
Yui T e50667e49e Address minor PR comment 2017-04-26 15:02:54 -07:00
Yui T 2f61d472ed Address minor PR comment 2017-04-26 12:56:15 -07:00
Arthur Ozga ac20fc2d26 consolidate program-structure reuse flags 2017-04-21 16:54:42 -07:00
Arthur Ozga 0ea1b82a85 test module reuse 2017-04-20 18:55:15 -07:00
Arthur Ozga 7966c08cc4 make enum bitflag and add trace message 2017-04-20 11:02:35 -07:00
Arthur Ozga 044152e50f Merge branch 'moduleReuse' of github.com:aozgaa/TypeScript into moduleReuse 2017-04-19 11:13:52 -07:00
Arthur Ozga c3582d2443 cleanup 2017-04-18 16:23:01 -07:00
Mohamed Hegazy 8c33a792b3 Do not query for bind errors if skipLibCheck or skipDefaultLibCheck is set 2017-04-18 16:19:58 -07:00
Arthur Ozga 77f9099423 Remove WIP comment 2017-04-18 16:15:39 -07:00
Arthur Ozga d5f246fd99 Reuse module resolutions in unmodified files 2017-04-18 15:48:01 -07:00
Mohamed Hegazy e6ecfa46f0 Merge pull request #15229 from Microsoft/Fix15220
Fix #15220: Check for file on diagnostics before getting line map
2017-04-18 14:39:54 -07:00
Andy Hanson 455492d887 Merge branch 'master' into fallthrough 2017-04-18 09:48:21 -07:00
Arthur Ozga cbbf6f8847 Merge branch 'master' into tripleEquals 2017-04-17 15:57:51 -07:00
Mohamed Hegazy 26d5af384c Check for the file before getting line map 2017-04-17 13:15:06 -07:00
Andy Hanson a82ac45e36 Merge branch 'master' into fallthrough 2017-04-12 10:58:03 -07:00
Andy Hanson ed5eca2b7b boolean-trivia lint rule: Enforce space between comment and argument 2017-04-11 09:44:58 -07:00
Andy Hanson 7320891933 boolean-trivia lint rule: Lint for null/undefined too 2017-04-07 13:13:39 -07:00
Arthur Ozga 7e03429a8e enforce triple-equals 2017-04-04 15:51:13 -07:00
Kanchalai Tanglertsampan 55430c46e6 Add boolean flag to not walk the tree if there is no dynamic import 2017-04-04 15:43:45 -07:00
Kanchalai Tanglertsampan 11f6eaec5b Merge branch 'master' into master-dynamicImport
# Conflicts:
#	src/compiler/commandLineParser.ts
2017-03-29 10:51:05 -07:00
Andy Hanson 1cf765d664 Lint for fallthrough in switch 2017-03-27 15:09:00 -07:00
Mohamed Hegazy db6c96967c Change ingore diagonstic comment to // @ts-ignore 2017-03-22 16:23:21 -07:00
Mohamed Hegazy e408cad618 Merge branch 'master' into checkJSFiles 2017-03-22 15:45:27 -07:00
Kanchalai Tanglertsampan c798489eb1 Move error report of incorrect grammar in dynamic import to checker 2017-03-22 15:04:17 -07:00
Kanchalai Tanglertsampan 91d9ecf3e2 Simply parse dynamic import as call-expression.... 2017-03-22 11:10:47 -07:00
Kanchalai Tanglertsampan e0192168f7 Use emitFlags to indicate that the subtree contains dynamic import 2017-03-20 14:01:50 -07:00
Andy Hanson 2305c10a65 Fix lint errors 2017-03-17 13:54:18 -07:00
Kanchalai Tanglertsampan a77f0d2b1a Do not collect imports in parser as it makes it very hard for incremental parsing 2017-03-16 17:47:10 -07:00