forked from M-Labs/artiq
1
0
Fork 0

Commit missing parts of 082e9e20dd.

This commit is contained in:
whitequark 2015-12-26 03:16:50 +08:00
parent 082e9e20dd
commit 8051fe9592
1 changed files with 2 additions and 2 deletions

View File

@ -183,7 +183,7 @@ class ASTSynthesizer:
for kw, value, (arg_loc, equals_loc) for kw, value, (arg_loc, equals_loc)
in zip(kwargs, kwarg_nodes, kwarg_locs)], in zip(kwargs, kwarg_nodes, kwarg_locs)],
starargs=None, kwargs=None, starargs=None, kwargs=None,
type=types.TVar(), iodelay=None, type=types.TVar(), iodelay=None, arg_exprs={},
begin_loc=begin_loc, end_loc=end_loc, star_loc=None, dstar_loc=None, begin_loc=begin_loc, end_loc=end_loc, star_loc=None, dstar_loc=None,
loc=name_loc.join(end_loc)) loc=name_loc.join(end_loc))
@ -191,7 +191,7 @@ class ASTSynthesizer:
node = asttyped.CallT( node = asttyped.CallT(
func=callback_node, func=callback_node,
args=[node], keywords=[], starargs=None, kwargs=None, args=[node], keywords=[], starargs=None, kwargs=None,
type=builtins.TNone(), iodelay=None, type=builtins.TNone(), iodelay=None, arg_exprs={},
begin_loc=cb_begin_loc, end_loc=cb_end_loc, star_loc=None, dstar_loc=None, begin_loc=cb_begin_loc, end_loc=cb_end_loc, star_loc=None, dstar_loc=None,
loc=callback_node.loc.join(cb_end_loc)) loc=callback_node.loc.join(cb_end_loc))