Skip to content

Implementation Role Feature 23

Max Leuthäuser edited this page Nov 18, 2021 · 5 revisions

Title

Compartments may play roles which are part of themselves.

Description

Continuing the argument of feature 22, compartments might be allowed to play roles belonging to the same compartments.

Implementation

E.g.

class ACompartment extends Compartment {
  class ARole
}

new ACompartment {
  this play new ARole
}

(E.g., CompartmentRoleFeaturesTest.scala)

Additional hints

None.

Clone this wiki locally