diff --git a/mypy/semanal.py b/mypy/semanal.py index d769178dc298..ccf3637ca94f 100644 --- a/mypy/semanal.py +++ b/mypy/semanal.py @@ -2037,7 +2037,7 @@ def analyze_namedtuple_classdef( defn, self.is_stub_file, self.is_func_scope() ) if is_named_tuple: - if info is None: + if info is None or any(has_placeholder(tv) for tv in tvar_defs): self.mark_incomplete(defn.name, defn) else: self.prepare_class_def(defn, info, custom_names=True)