jackfirth / racket-mock

Mocking library for Racket
Other
22 stars 7 forks source link

Using `with-mocks` inside `with-mocks` of same ID shouldn't be allowed #93

Closed jackfirth closed 7 years ago

jackfirth commented 8 years ago

There's no reason you'd ever want this and it would have very odd behavior (I'm not even sure what would happen right off the bat). Nesting with-mocks of different IDs is acceptable as the semantics there are fairly well defined, but colliding IDs shouldn't be allowed.