M: Add substitution propagation for Inline synthesis
Some checks are pending
Backend CI / build (3.12) (push) Waiting to run
Frontend CI / build (22.x) (push) Waiting to run

This commit is contained in:
Ivan 2024-08-13 23:54:16 +03:00
parent 173b10b457
commit a382686701

View File

@ -594,9 +594,9 @@ def inline_synthesis(request: Request) -> HttpResponse:
index = next(i for (i, cst) in enumerate(items) if cst.pk == replacement.pk) index = next(i for (i, cst) in enumerate(items) if cst.pk == replacement.pk)
replacement = new_items[index] replacement = new_items[index]
substitutions.append((original, replacement)) substitutions.append((original, replacement))
receiver.substitute(substitutions)
# TODO: propagate substitutions PropagationFacade.before_substitute(substitutions, receiver)
receiver.substitute(substitutions)
receiver.restore_order() receiver.restore_order()