Skip to content

Commit

Permalink
Fix comilation
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Sep 21, 2020
1 parent 2af291f commit cb47c74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion typescript/checker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ version = "0.1.0"
macros = {package = "swc_ts_checker_macros", path = "./macros"}
ordered-float = "1.0.2"
swc_atoms = {path = "../../atoms"}
swc_common = {path = "../../common"}
swc_common = {path = "../../common", features = ["concurrent"]}
swc_ecma_ast = {path = "../../ecmascript/ast"}
swc_ecma_parser = {path = "../../ecmascript/parser"}
swc_ecma_utils = {path = "../../ecmascript/utils"}
Expand Down
2 changes: 1 addition & 1 deletion typescript/dts/tests/fixtures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ fn get_correct_dts(path: &Path) -> (Arc<String>, Module) {

let m = p
.parse_typescript_module()
.map_err(|mut e| e.into_diagnostic(&handler).emit())?;
.map_err(|e| e.into_diagnostic(&handler).emit())?;

Ok((fm.src.clone(), m))
})
Expand Down

0 comments on commit cb47c74

Please sign in to comment.