Update ceval.cpp

This commit is contained in:
blueloveTH 2023-11-07 04:52:37 +08:00
parent e124f635c1
commit 0c46f21c19

View File

@ -748,7 +748,7 @@ __NEXT_STEP:;
if(is_non_tagged_type(_0, tp_function)){
PK_OBJ_GET(Function, _0)._class = _curr_class;
}
TOP()->attr().set(_name, _0);
_curr_class->attr().set(_name, _0);
} DISPATCH();
/*****************************************/
TARGET(WITH_ENTER)