class InheritWithBlockTest {
    private int field1;
    private int field2;

    InheritWithBlockTest(int value1, int value2) {
        self.field1 = value1;
        self.field2 = value2;
    }

    void show() with void block() {
        Clover.println("self.field1 --> " + self.field1.toString());

        block();
    }

    mixin void show() with void block() {
        mixin() with block;

        Clover.println("self.field2 --> " + self.field2.toString());
    }
}
