Skip to content
Snippets Groups Projects
Adrien Di Mascio's avatar
Adrien Di Mascio authored
When the variable type is defined by an IN() function, ``add_type_restriction``
removes all types in it that don't match the specified type. Since the list
of types is modified inplace, the iteration must be done on a copy, not on
the list itself.

There was a test for "add_type_restriction + IN()" case but since there
was only 2 types defined in the IN function, the problem was not exposed.
3e6b5f8c
History
Name Last commit Last update