From fa0244c3888cad416cd10e7cbfa649801d2a801a Mon Sep 17 00:00:00 2001 From: Oleg Shpynov Date: Thu, 4 Feb 2010 13:02:54 +0300 Subject: [PATCH] Tests fix --- .../python/codeInsight/controlflow/PyControlFlowBuilder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/python/codeInsight/controlflow/PyControlFlowBuilder.java b/python/src/com/jetbrains/python/codeInsight/controlflow/PyControlFlowBuilder.java index 55d0625046c0..7b17b1e586af 100644 --- a/python/src/com/jetbrains/python/codeInsight/controlflow/PyControlFlowBuilder.java +++ b/python/src/com/jetbrains/python/codeInsight/controlflow/PyControlFlowBuilder.java @@ -280,7 +280,8 @@ public class PyControlFlowBuilder extends PyRecursiveElementVisitor { @Override public void visitPyRaiseStatement(final PyRaiseStatement node) { - myBuilder.startNode(node); + final Instruction instruction = myBuilder.startNode(node); + myBuilder.addPendingEdge(null, instruction); myBuilder.flowAbrupted(); }