File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/ty_python_semantic/src/types Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ mod builder;
5858#[ cfg( test) ]
5959mod tests;
6060
61+ /// How many fixpoint iterations to allow before falling back to Divergent type.
62+ const ITERATIONS_BEFORE_FALLBACK : u32 = 10 ;
63+
6164/// Infer all types for a [`ScopeId`], including all definitions and expressions in that scope.
6265/// Use when checking a scope, or needing to provide a type for an arbitrary expression in the
6366/// scope.
@@ -157,9 +160,6 @@ pub(crate) fn infer_deferred_types<'db>(
157160 . finish_definition ( )
158161}
159162
160- /// How many fixpoint iterations to allow before falling back to Divergent type.
161- const ITERATIONS_BEFORE_FALLBACK : u32 = 10 ;
162-
163163fn deferred_cycle_recover < ' db > (
164164 _db : & ' db dyn Db ,
165165 _value : & DefinitionInference < ' db > ,
You can’t perform that action at this time.
0 commit comments