Skip to content
Snippets Groups Projects
Commit dc5f0014 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Fix type inference for tagged variables.

parent 6875ff0d
Branches
Tags
No related merge requests found
......@@ -97,6 +97,8 @@ class TypeInferenceMapper(CombineMapper):
raise TypeInferenceFailure("nothing known about '%s'" % expr.name)
map_tagged_variable = map_variable
def map_lookup(self, expr):
agg_result = self.rec(expr.aggregate)
dtype, offset = agg_result.fields[expr.name]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment