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
Example: concept X inherits from concepts A and B who both define a feature named f
classDiagram
class A {
string f
}
class B {
string f
}
A <|-- X
B <|-- X
Loading
Decisions:
we treat A.f and B.f as distinct f's in X (semantically they are different)
remaining issue: who can continue to use the name f, because the name (not the feature) is ambiguous (relevant for situations where we access f by name and not by key; ie., generated code)
solve the problem for the place where we use by-name reference, aka the code
Name-clash problem as described in section 3.3
Example: concept
Xinherits from conceptsAandBwho both define a feature namedfclassDiagram class A { string f } class B { string f } A <|-- X B <|-- XDecisions:
A.fandB.fas distinctf's inX(semantically they are different)f, because the name (not the feature) is ambiguous (relevant for situations where we accessfby name and not by key; ie., generated code)X; close to 3.3.2. Rename conflicting names)