Added a test to detect invalid RTTI caching
The current inheritance testing isn't sufficient to detect a cache failure; the test added here breaks PR #390, which caches the run-time-determined return type the first time a function is called, then reuses that cached type even though the run-time type could be different for a future call.
Showing
Please
register
or
sign in
to comment