compiler: swap order of arguments in applyCtx

fix #2
0.2.5