Skip to content

Commit

Permalink
fix missing method call
Browse files Browse the repository at this point in the history
  • Loading branch information
ranjitjhala committed Dec 23, 2024
1 parent 1872244 commit 7f976ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/flux-middle/src/rty/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@ pub(crate) mod pretty {
text += &format_cx!(cx, "{:?} ", flds[0].clone());
Ok(NestedString { text, children: None, key: None })
} else {
let keys = if let Some(genv) = cx.genv
let keys = if let Some(genv) = cx.genv()
&& let Ok(adt_sort_def) = genv.adt_sort_def_of(def_id)
{
adt_sort_def
Expand Down

0 comments on commit 7f976ec

Please sign in to comment.