Added method calls with :
Switch to il using namespaced enums
Merge ast and il
Make Record type inference not blow the stack