Ensure resolve return type is ResolvedType.

This fix ensures that InlineCode.resolve is found when compiling the Mirah
project.
Merge remote-tracking branch 'tychobrailleur/fix_compile'