iter ctt.3: KindMismatch retire
This commit is contained in:
@@ -1160,26 +1160,6 @@ fn workspace_error_to_diagnostic(
|
||||
"method": method,
|
||||
})),
|
||||
),
|
||||
W::KindMismatch {
|
||||
class,
|
||||
param,
|
||||
method,
|
||||
defining_module,
|
||||
} => Some(
|
||||
ailang_check::Diagnostic::error(
|
||||
"kind-mismatch",
|
||||
format!(
|
||||
"kind mismatch in class `{class}`: parameter `{param}` is used in applied position \
|
||||
inside method `{method}` (Decision 11 axis 5: class params are kind `*` only)"
|
||||
),
|
||||
)
|
||||
.with_ctx(serde_json::json!({
|
||||
"class": class,
|
||||
"param": param,
|
||||
"method": method,
|
||||
"defining_module": defining_module,
|
||||
})),
|
||||
),
|
||||
W::InvalidSuperclassParam {
|
||||
class,
|
||||
superclass,
|
||||
|
||||
Reference in New Issue
Block a user