Fix spread props diffing (#2679)

* Fix spread props diffing

* Add a regression test for extends prop diffing
This commit is contained in:
Evan Almloff authored and GitHub committed 2024-07-23 16:57:05 -07:00
1 parent 6148941825
commit ea3d88c1dd
2 files changed
+30

No files matched your search

+1
View File
@@ -640,6 +640,7 @@ mod struct_info {
let regular_fields: Vec<_> = self
.included_fields()
.chain(self.extend_fields())
.filter(|f| !looks_like_signal_type(f.ty) && !looks_like_callback_type(f.ty))
.map(|f| {
let name = f.name;