Skip to content

Commit 72b0491

Browse files
committed
Improve debug for ClassEntry
1 parent 5bf2458 commit 72b0491

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/php/class.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,12 @@ impl Debug for ClassEntry {
350350
f.debug_struct("ClassEntry")
351351
.field("name", &name)
352352
.field("flags", &self.flags())
353+
.field("is_interface", &self.is_interface())
354+
.field(
355+
"interfaces",
356+
&self.interfaces().map(|iter| iter.collect::<Vec<_>>()),
357+
)
358+
.field("parent", &self.parent())
353359
.finish()
354360
}
355361
}

0 commit comments

Comments
 (0)