fix deftype clear-locals
don't push var name as local fn name
fix constant emission
Merge branch 'analyzer-WIP' into compiler-WIP