Skip to content

Commit 237b897

Browse files
committed
fix fuzz target compile_parse_tree
this replaces \`named::to_commit_node\` with \`named::forget_names\`
1 parent 31c1ee8 commit 237b897

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fuzz/fuzz_targets/compile_parse_tree.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@ fuzz_target!(|data: &[u8]| {
2424
.compile(arguments, false)
2525
.with_file("")
2626
.expect("AST should compile with given arguments");
27-
let _simplicity_commit = named::to_commit_node(&simplicity_named_construct)
28-
.expect("Conversion to commit node should never fail");
27+
let _simplicity_commit = named::forget_names(&simplicity_named_construct);
2928
});

0 commit comments

Comments
 (0)