The @assert statements in src/precompile.jl were removed 5 years ago #59ee94b, but somehow never made into a release (because the release-0.8 branch does not have the fix).
Would it be possible to backport it and release 0.8.6?
(For some reason, these @asserts fail for me when I'm using the PackageCompiler. I don't know enough about these things to understand why.)