summaryrefslogtreecommitdiffstats
path: root/typing/typedtreeIter.ml
diff options
context:
space:
mode:
Diffstat (limited to 'typing/typedtreeIter.ml')
-rw-r--r--typing/typedtreeIter.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/typing/typedtreeIter.ml b/typing/typedtreeIter.ml
index 669f54cac..0765b62b9 100644
--- a/typing/typedtreeIter.ml
+++ b/typing/typedtreeIter.ml
@@ -525,7 +525,7 @@ module MakeIterator(Iter : IteratorArgument) : sig
and iter_class_structure cs =
Iter.enter_class_structure cs;
- iter_pattern cs.cstr_pat;
+ iter_pattern cs.cstr_self;
List.iter iter_class_field cs.cstr_fields;
Iter.leave_class_structure cs;