Skip to content
Snippets Groups Projects
Commit 2c15b989 authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Define type of init_val for reduction as Any

parent dcdfff04
Branches
1 merge request!438Reduction Support
......@@ -195,6 +195,7 @@ class FreezeExpressions:
# match for reduction operation and set neutral init_val and new rhs (similar to augmented assignment)
new_rhs: PsExpression
init_val: Any # TODO: type?
match expr.op:
case "+":
init_val = PsConstant(0)
......
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