This commit is contained in:
Aleksey Kladov 2020-07-10 14:09:31 +02:00
parent b85042601d
commit 9c54537ecf
2 changed files with 2 additions and 3 deletions

View file

@ -375,7 +375,7 @@ impl<'db> SemanticsImpl<'db> {
}
pub fn type_of_expr(&self, expr: &ast::Expr) -> Option<Type> {
self.analyze(expr.syntax()).type_of(self.db, &expr)
self.analyze(expr.syntax()).type_of_expr(self.db, &expr)
}
pub fn type_of_pat(&self, pat: &ast::Pat) -> Option<Type> {