Skip to content

Commit a2669d1

Browse files
authored
Hide synthetic classes created by mixin applications in outline view (#3398)
Fixes #3388
1 parent 577c943 commit a2669d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/devtools_app/lib/src/debugger/program_explorer_model.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,10 @@ class VMServiceObjectNode extends TreeNode<VMServiceObjectNode> {
161161
}
162162

163163
for (final clazz in lib.classes) {
164+
// Don't surface synthetic classes created by mixin applications.
165+
if (clazz.name.contains('&')) {
166+
continue;
167+
}
164168
if (clazz.location.script.uri == uri) {
165169
final clazzNode = VMServiceObjectNode(
166170
controller,

0 commit comments

Comments
 (0)