Why can't we have precompiled *.ji files for multiple versions of a package?

pkg

#1

Under ~/.julia/packages/PkgName I can have multiple versions of the same package co-existing peacefully.

Is there any reason why the same thing cannot happen under ~/.julia/compiled/v1.0/PkgName? Currently each time I switch versions the compilation takes place again.


#2

Ref. https://github.com/JuliaLang/julia/issues/27418