plantcode icon indicating copy to clipboard operation
plantcode copied to clipboard

Extends does not work if right hand side of connection is not present

Open GillisWerrebrouck opened this issue 4 years ago • 0 comments

Extends is not present if the right hand side of a connection is not present.

Example:

class A {
        + someProp string
        - someOtherProp number

        + number computeSomething(string x)
    }
A --|> B
@enduml```

Code:
```class A {
  private string : someProp;
  private number : someOtherProp;
  computeSomething(x) {
    return;
  }
}```

Expected:
```class A extends B {
  private string : someProp;
  private number : someOtherProp;
  computeSomething(x) {
    return;
  }
}```

GillisWerrebrouck avatar Nov 05 '21 16:11 GillisWerrebrouck