You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
an exception is thrown if 'trait' contains required properties.
(B)
an exception is thrown if 'trait' contains conflict properties.
However, when my prototype provides (or "implements") the required property, an exception is not thrown even though the composed trait contains required properties.
This, though, seems to be inconsistent with "conflicting" properties mechanics (ok, statement (B) holds here, i.e. exception not thrown because the composed trait does not contain conflict properties).
an exception is thrown if 'instantiation' contains required properties.
an exception is thrown if 'instantiation' contains conflicting properties.
...in which snippet 1 is OK because the required a property is provided by the prototype, and snippet 2 should throw because property a in the composed trait and in the prototype are conflicting :)
The text was updated successfully, but these errors were encountered:
Quoting the README:
(A)
(B)
However, when my prototype provides (or "implements") the required property, an exception is not thrown even though the composed trait contains
required
properties.Snippet 1
This, though, seems to be inconsistent with "conflicting" properties mechanics (ok, statement (B) holds here, i.e. exception not thrown because the composed trait does not contain
conflict
properties).Snippet 2
Is this by design?
I would expect something more like:
...in which snippet 1 is OK because the required
a
property is provided by the prototype, and snippet 2 should throw because propertya
in the composed trait and in the prototype are conflicting :)The text was updated successfully, but these errors were encountered: