summaryrefslogtreecommitdiff
path: root/cli/doc
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-05-29 16:32:15 +0200
committerGitHub <noreply@github.com>2020-05-29 16:32:15 +0200
commitad6d2a7734aafb4a64837abc6abd1d1d0fb20017 (patch)
tree4c0e8714384bc47211a4b68953a925fb54b7a015 /cli/doc
parentb97459b5ae3918aae21f0c02342fd7c18189ad3e (diff)
refactor: TS compiler and module graph (#5817)
This PR addresses many problems with module graph loading introduced in #5029, as well as many long standing issues. "ModuleGraphLoader" has been wired to "ModuleLoader" implemented on "State" - that means that dependency analysis and fetching is done before spinning up TS compiler worker. Basic dependency tracking for TS compilation has been implemented. Errors caused by import statements are now annotated with import location. Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Diffstat (limited to 'cli/doc')
-rw-r--r--cli/doc/node.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/doc/node.rs b/cli/doc/node.rs
index 0846db0dd..0f97ed65a 100644
--- a/cli/doc/node.rs
+++ b/cli/doc/node.rs
@@ -32,7 +32,7 @@ pub struct ParamDef {
pub ts_type: Option<super::ts_type::TsTypeDef>,
}
-#[derive(Debug, Serialize, Clone)]
+#[derive(Debug, Serialize, Clone, PartialEq)]
pub struct Location {
pub filename: String,
pub line: usize,