mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.1152: class "implements" argument not implemented
Problem: Class "implements" argument not implemented. Solution: Implement "implements" argument. Add basic checks for when a class implements an interface.
This commit is contained in:
@@ -5676,7 +5676,8 @@ set_ref_in_item(
|
||||
case VAR_CLASS:
|
||||
{
|
||||
class_T *cl = tv->vval.v_class;
|
||||
if (cl != NULL && cl->class_copyID != copyID)
|
||||
if (cl != NULL && cl->class_copyID != copyID
|
||||
&& (cl->class_flags && CLASS_INTERFACE) == 0)
|
||||
{
|
||||
cl->class_copyID = copyID;
|
||||
for (int i = 0; !abort
|
||||
|
Reference in New Issue
Block a user