'Resolve the type of a simple Python value, such as can be
represented by literals.'

def resolve_value_type(self, inst, val):

    try:
        return self.context.resolve_value_type(val)
    except ValueError as e:
        msg = str(e)
    raise TypingError(msg, loc=inst.loc)
