Oleg Smelov

Results 9 comments of Oleg Smelov

One workaround for this is to prepend modules _after_ running `sig`, in your case: ```ruby class MyClass extend T::Sig extend MyTracer sig {returns(String)} def foo puts 'override called' 'foo' end...

`"drag_text": false` looked promising at first, but I could reproduce the bug even with `drag_text` set to `false`.

Sadly, no, I don't know how to reproduce this consistently, seems quite random.

This PR makes it better, but it's not enough, see https://github.com/spinels/overman/issues/2.

For what it's worth, neither [goreman](https://github.com/mattn/goreman), [forego](https://github.com/ddollar/forego), nor [overmind](https://github.com/DarthSim/overmind) exhibit this behavior.

This proposed behavior makes sense to me, considering that the sig is for `MyClass#bar` rather than `PrependB#bar`. If `PrependB#bar` also had a sig, I'd expect it to be type checked...

Might be related: https://github.com/code-mancers/invoker/issues/248

We are not running `pks` against the same codebase, but what definitely stands out is the `System` time: it's 12.7x higher when using cache and 7.8x times higher when not...

In an Ubuntu VM running on the same laptop: ``` $ hyperfine --warmup 5 'pks check' 'pks --no-cache check' Benchmark 1: pks check Time (mean ± σ): 315.5 ms ±...