iter ctt.3: KindMismatch retire
This commit is contained in:
@@ -1425,9 +1425,12 @@ fn check_def(def: &Def, env: &Env) -> Result<()> {
|
||||
Def::Const(c) => check_const(c, env),
|
||||
Def::Type(td) => check_type_def(td, env),
|
||||
// Iter 22b.1: schema-only landing for class/instance defs.
|
||||
// Class-schema validation (KindMismatch, InvalidSuperclassParam,
|
||||
// Class-schema validation (InvalidSuperclassParam,
|
||||
// ConstraintReferencesUnboundTypeVar) and instance-body
|
||||
// typechecking (with class-method substitution) land in 22b.2.
|
||||
// ctt.3: KindMismatch retired — the malformed-class-param
|
||||
// shape now fires BareCrossModuleTypeRef from the canonical-
|
||||
// form validator instead.
|
||||
// Workspace-load coherence checks (Orphan / Duplicate /
|
||||
// MissingMethod) already fire from `workspace::build_registry`,
|
||||
// so a malformed instance never reaches this point.
|
||||
|
||||
Reference in New Issue
Block a user