nit
nit copied to clipboard
model: Fix textual representations of type intersections
Apply the following changes to the type intersections introduced in PR #2397:
- Fix
full_nameandto_sto unambiguously represent multiple levels of nesting. - Implement
c_name
Only the last 3 commits are the subject of this PR.
♻️ Split test_model in 2 test cases : One for MType and one for the especially forMIntersectionType.
Also, use stubs to test textual representations. That way, tests are no longer tightly coupled to MClassType.
Now, the last 5 commits are relevant to this PR.
♻️ Rebase on top of #2397.
Now, only the last 3 commits are relevant to this PR.