Commit dca5ab03 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Improve error messsage when missing connections

parent e7046b04
......@@ -3055,7 +3055,8 @@ def connect_part(root, parent, context):
and term.inputString.lower() == exitp]
if not terminators:
errors.append([u'No {rs} return statement in nested state {st}'
.format(rs=exitp, st=comp.statename.lower()),
.format(rs=exitp or u'default (unnamed)',
[conn.pos_x or 0, conn.pos_y or 0], []])
return terminators
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment