add method call typecheck and some hacks on it
Merge branch 'master' of github.com:MInner/cmp