please include function emit. static L getEmits(Runnable r) { new L l; temp tempSetThreadLocal(emit_tl, l); temp tempSetMCOpt(emit_print := false); callF(r); ret l; }