Deprecate EventHandler::FType(), replace with GetType()

This commit is contained in:
Jon Siwek 2020-05-15 18:37:48 -07:00
parent 6aa1d0468d
commit 938ad35a43
5 changed files with 19 additions and 12 deletions

View file

@ -4313,7 +4313,8 @@ EventExpr::EventExpr(const char* arg_name, IntrusivePtr<ListExpr> arg_args)
return;
}
FuncType* func_type = h->FType();
const auto& func_type = h->GetType();
if ( ! func_type )
{
Error("not an event");