From 72b04915ccfd83748c11374f2ecbde21b6a33456 Mon Sep 17 00:00:00 2001 From: David Cole Date: Sun, 5 Sep 2021 20:31:32 +1200 Subject: [PATCH] Improve debug for `ClassEntry` --- src/php/class.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/php/class.rs b/src/php/class.rs index f9dfb7daf4..c69bb58306 100644 --- a/src/php/class.rs +++ b/src/php/class.rs @@ -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::>()), + ) + .field("parent", &self.parent()) .finish() } }