Closed charlievieth closed 5 years ago
Commit d7aee8965 broke test 0055 as setting the decl_visited in decl.find_child_and_in_embedded() prevents other type inference methods from running. This commit introduces a new decl_flags constant, decl_visited_find_child_and_in_embedded, for decl. find_child_and_in_embedded() so other type inference methods may still run while guarding against infinite recursion.
decl_visited
Also, the name of the new constant decl_visited_find_child_and_in_embedded and the associated decl methods are pretty long. Please feel free to change it or offer suggestions for a better name and I'll update the PR.
Commit d7aee8965 broke test 0055 as setting the
decl_visited
in decl.find_child_and_in_embedded() prevents other type inference methods from running. This commit introduces a new decl_flags constant, decl_visited_find_child_and_in_embedded, for decl. find_child_and_in_embedded() so other type inference methods may still run while guarding against infinite recursion.Also, the name of the new constant decl_visited_find_child_and_in_embedded and the associated decl methods are pretty long. Please feel free to change it or offer suggestions for a better name and I'll update the PR.