Skip to content

Commit

Permalink
spec gen bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ralexstokes committed Sep 18, 2023
1 parent f55ee2d commit b2936b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec-gen/src/generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,7 @@ fn parse_fork_diff_with_symbol_index(fork: &Fork) -> (ForkDiff, HashMap<String,
Item::Type(item) => {
let item = TypeDef::new(item, *fork);
if item.is_pub() {
index.insert(item.name.to_string(), module_name.to_string());
module.type_defs.push(item);
}
}
Expand Down

0 comments on commit b2936b0

Please sign in to comment.