fix(emitScopeElt): pass full scope to helper