Move intfuncs up higher so we can get proper errors
Merge pull request #4193 from JuliaLang/sf/intfuncs

Move intfuncs up higher so we can get proper errors