add Context.getExpecteType
Merge pull request #2629 from HaxeFoundation/Context.getExpectedType

add Context.getExpectedType