smintz / starlarkobject

0 stars 0 forks source link

Validate inheritance order #7

Open smintz opened 1 year ago

smintz commented 1 year ago

When inheriting from more than one instance, need to make sure the order is correct and comply with the way python does that.

Python example:

class MyClass(OtherClass, AnotherClass):
    pass

Starlark example:

MyClass = object("MyClass", OtherClass, AnotherClass)