Consensys/scribble

Scribble instrumentation check is too late

cd1m0 opened this issue · 1 comments

cd1m0 commented

Scribble is checking if a file is already instrumented by looking for a marker at the start of the file. However that check is currently after the type-checking pass. Type-checking on an instrumented file however can already crash. We should move this check to right after source compilation.

This is actually fixed by #220, that is already merged.