If look at https://timholy.github.io/SnoopCompile.jl/dev/tutorials/snoop_llvm/ or https://timholy.github.io/SnoopCompile.jl/stable/tutorials/snoop_llvm/ you'll see this -- I am guessing the error is not what should be seen here (and luckily the example works for me).
And then subsequently
Maybe this shouldn't use @repl but rather jldoctest to avoid similar issues in the future?