mirror of
https://onedev.site.tesses.net/crosslang
synced 2026-02-09 01:25:45 +00:00
Fix classes and add instance info
This commit is contained in:
@@ -109,7 +109,7 @@ namespace Tesses::CrossLang
|
||||
{
|
||||
obj->inherit_tree.push_back(JoinPeriod(clsCur->inherits));
|
||||
size_t idx;
|
||||
if(rEnv->TryFindClass(clsCur->name,idx))
|
||||
if(rEnv->TryFindClass(clsCur->inherits,idx))
|
||||
{
|
||||
auto file = rEnv->classes[idx].first;
|
||||
clsCur = &rEnv->classes[idx].first->classes.at(rEnv->classes[idx].second);
|
||||
|
||||
Reference in New Issue
Block a user