make funcexpr scope follow ecma262
add type info to local
fix emitter
add a test
change the parser
simplify the test