Skip to content

Commit c4e30fc

Browse files
committed
And we're back to 10
1 parent e1bf304 commit c4e30fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ty_python_semantic/src/types/visitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ pub(super) fn exceeds_max_specialization_depth(db: &dyn Db, ty: Type<'_>) -> boo
372372
//
373373
// reveal_type(x) # Unknown | Literal[1] | list[Divergent]
374374
// ```
375-
const MAX_SPECIALIZATION_DEPTH: usize = 14;
375+
const MAX_SPECIALIZATION_DEPTH: usize = 10;
376376

377377
specialization_depth(db, ty) > MAX_SPECIALIZATION_DEPTH
378378
}

0 commit comments

Comments
 (0)