Skip to content

Commit

Permalink
Improve debug for ClassEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcole1340 committed Sep 5, 2021
1 parent 5bf2458 commit 72b0491
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/php/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,12 @@ impl Debug for ClassEntry {
f.debug_struct("ClassEntry")
.field("name", &name)
.field("flags", &self.flags())
.field("is_interface", &self.is_interface())
.field(
"interfaces",
&self.interfaces().map(|iter| iter.collect::<Vec<_>>()),
)
.field("parent", &self.parent())
.finish()
}
}

0 comments on commit 72b0491

Please sign in to comment.