local ftp = eolian.function_type
- local cl = eolian.class_get_by_name(bstr)
+ local cl = dtree.Class.by_name_get(bstr)
local fn
local ftype = ftp.UNRESOLVED
if not cl then
error("invalid reference '" .. str .. "'")
end
bstr = bstr:match("(.+)%.[^.]+")
- cl = eolian.class_get_by_name(bstr)
+ cl = dtree.Class.by_name_get(bstr)
if cl then
fn = cl:function_get_by_name(mname, ftype)
end
if fn then ftype = fn:type_get() end
end
- if fn then
- fn = dtree.Function(fn)
- end
-
if not fn or not fn:type_str_get() then
error("invalid reference '" .. str .. "'")
end