Commit 2575162e authored by Diederik van Arkel's avatar Diederik van Arkel
Browse files

add collectVariable instance for Dictionaries for consumer reanalysis

parent 7d5efb5d
......@@ -1992,6 +1992,9 @@ where
collectVariables (ArraySelection array_select expr_ptr index_expr) free_vars dynamics cos
# (index_expr, free_vars, dynamics, cos) = collectVariables index_expr free_vars dynamics cos
= (ArraySelection array_select expr_ptr index_expr, free_vars, dynamics, cos)
collectVariables (DictionarySelection dictionary_select selectors expr_ptr index_expr) free_vars dynamics cos
# ((index_expr,selectors), free_vars, dynamics, cos) = collectVariables (index_expr,selectors) free_vars dynamics cos
= (DictionarySelection dictionary_select selectors expr_ptr index_expr, free_vars, dynamics, cos)
collectVariables record_selection free_vars dynamics cos
= (record_selection, free_vars, dynamics, cos)
......
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