fix leaky super/this from anon function
tests for #688