method resolution Behavior
Hi Vaclav,
in the documentation for the Behavior aspect an algorithm for method resolution is mentioned. Are the steps of this algorithm performed successively and exactly in the order stated? Is this algorithm defined recursively?
https://confluence.jetbrains.com/display/MPSD31/Behavior
in the documentation for the Behavior aspect an algorithm for method resolution is mentioned. Are the steps of this algorithm performed successively and exactly in the order stated? Is this algorithm defined recursively?
https://confluence.jetbrains.com/display/MPSD31/Behavior
1 comment
Sort by
Date
Votes
Yes, the rules are applied recursively, however, the order of the steps in the documentation is somewhat incorrect. Virtual methods in interface concepts take precedence over virtual methods from super-concepts. I'll update the documentation.
Please sign in to leave a comment.