core: allow calling parent methods #497

Merged
sb10q merged 4 commits from issue-133 into master 2024-08-26 18:37:55 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d26c75837f - Show all commits

View File

@ -1748,7 +1748,7 @@ impl<'a> Inferencer<'a> {
Ok(Some(new_func)) Ok(Some(new_func))
} }
None => report_error( None => report_error(
format!("Method {class_name}.{method_name} not found in ancestor list").as_str(), format!("Ancestor method [{class_name}.{method_name}] should be defined with same decorator as its overridden version").as_str(),
*location, *location,
), ),
} }