This is intentional ?

```
        should(function void() {
            auto emptyStack = SimpleStack!int();
scope(exit) emptyStack.free; // <= This is never called

            emptyStack.reserve(16);
            emptyStack.top;
        }).Throw!RangeError;
```

scope(exit) inside of a anonymous functions, it's never called.

Reply via email to