Commit eca913f6 authored by Kurt Smith's avatar Kurt Smith

Fix 135 -- scope objects have return_type set to None by default

parent e02c446f
......@@ -251,6 +251,7 @@ class Scope(object):
self.pystring_entries = []
self.buffer_entries = []
self.control_flow = ControlFlow.LinearControlFlow()
self.return_type = None
def start_branching(self, pos):
self.control_flow = self.control_flow.start_branch(pos)
......
Markdown is supported
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