Skip to content

Commit

Permalink
[move/docgen] Fix docgen for deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tzakian committed Mar 15, 2024
1 parent 13fd5db commit 6c59cf4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion external-crates/move/crates/move-compiler/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,14 @@ pub(crate) fn parse_program(
named_address_map,
} in deps
{
let (defs, _, _) = parse_file(&path, compilation_env, &mut files, package)?;
let (defs, dep_comment_map, fhash) =
parse_file(&path, compilation_env, &mut files, package)?;
lib_definitions.extend(defs.into_iter().map(|def| PackageDefinition {
package,
named_address_map,
def,
}));
source_comments.insert(fhash, dep_comment_map);
}

let pprog = parser::ast::Program {
Expand Down

0 comments on commit 6c59cf4

Please sign in to comment.