proofit404 / stories

Service objects designed with OOP in mind.
https://proofit404.github.io/stories/
BSD 2-Clause "Simplified" License
297 stars 21 forks source link

State union should merge different Variable declarations. #686

Closed proofit404 closed 2 years ago

proofit404 commented 3 years ago
class A1State(State):
    a1v1 = Variable()

class A2State(State):
    a2v1 = Variable()

NewState = A1State & A2State

The NewState would have both a1v1 and a2v1 variables declared.

proofit404 commented 2 years ago

Implemented in #606