Fix Callback.isCallable
This commit is contained in:
@@ -82,7 +82,7 @@ struct Callback
|
|||||||
if (type == CallbackType.label)
|
if (type == CallbackType.label)
|
||||||
return slot.unique == slotUnique;
|
return slot.unique == slotUnique;
|
||||||
if (type == CallbackType.function_)
|
if (type == CallbackType.function_)
|
||||||
return func.isDead;
|
return !func.isDead;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user