Skip to content
Snippets Groups Projects
Verified Commit b082dd10 authored by Tóth Miklós Tibor's avatar Tóth Miklós Tibor :shrug:
Browse files

fix none errors

parent 93f88b5a
No related branches found
No related tags found
No related merge requests found
Pipeline #6741 passed
...@@ -178,6 +178,8 @@ class Call(Stmt): ...@@ -178,6 +178,8 @@ class Call(Stmt):
return return
# check for recursion # check for recursion
id_ = None
if met2 is not None:
id_ = (met2.t.name, met2.name) id_ = (met2.t.name, met2.name)
if id_ in ctx.vis: if id_ in ctx.vis:
ctx.comment(lvl, f'recur {call.qual}.{call.member}') ctx.comment(lvl, f'recur {call.qual}.{call.member}')
...@@ -211,6 +213,7 @@ class Call(Stmt): ...@@ -211,6 +213,7 @@ class Call(Stmt):
f'dt=7' + f'dt=7' +
']' + ']' +
f'{{{edge[0]}}}{{{edge[1]}}}') f'{{{edge[0]}}}{{{edge[1]}}}')
if met2 is not None:
met2.gen_seq(var, lvl + 1, ctx) met2.gen_seq(var, lvl + 1, ctx)
ctx.append(lvl, '\\end{umlcall}') ctx.append(lvl, '\\end{umlcall}')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment