Closed Ocramius closed 9 years ago
As per discussion with @nikic, it is only possible to intercept things such as Generator#current()
by hooking in execute_ex
, as current()
is not actually being called there.
We will have to simply stop validating types in particular internals edge cases.
In its current state, the typed traversable checker will iterate over given iterators.
Given an Iterator that is not rewindable, this means that the checks should either: