示例#1
0
def type_assignment(ast, M):
    typeinference.infer(ast, context=M.type_context, input_types=M.input_types)
    return ast
示例#2
0
def type_assignment(ast, M):
    typeinference.infer(ast, context=M.type_context, input_types=M.input_types)
    return ast
示例#3
0
文件: passes.py 项目: WuCPMark/TFJ
def type_assignment(ast, M):
    typeinference.infer(ast, context=M.type_context)
    collect_local_typings(ast, M)
    return ast