fix a bug that defalt function param caused compiler crash
Merge branch 'gfx/fix-default-param-for-func'