catala/compiler/scalc
Louis Gesbert 9fa5f91e3a Python printer: add some parens to be safe
I can't find where the line cut triggering the error at
https://github.com/CatalaLang/catala/actions/runs/10304111306/job/28522272547?pr=666
came from:
```
/home/ocaml/french-law/_python_venv/lib/python3.12/site-packages/french_law/Aides_logement.py:27785:
error: invalid syntax  [syntax]
```

the file at this point contains:
```
    def traitement_aide_finale_montee_en_charge_saint_pierre_miquelon1(
        aide_finale4:Money):
→       traitement_aide_finale_montee_en_charge_saint_pierre_miquelon4 =
            handle_exceptions(
                [],
                []
            )
```

This workaround adds parens after `=`, which ensures the syntax will be correct.
2024-08-28 18:12:33 +02:00
..
ast.ml Scalc change: switch only on variables 2024-08-28 18:12:32 +02:00
dune refactor(runtimes): add runtime_ocaml and runtime_jsoo in the catala package 2022-07-22 16:52:56 +02:00
from_lcalc.ml Reformat 2024-08-28 18:12:32 +02:00
from_lcalc.mli Renaming: move to its own module 2024-08-28 18:12:28 +02:00
print.ml Reformat 2024-08-28 18:12:32 +02:00
print.mli Add externals to scalc, working test with Python backend 2024-02-26 14:56:43 +01:00
scalc.mld Fix most doc errors 2023-06-02 17:17:45 +02:00
to_c.ml Reformat 2024-08-28 18:12:32 +02:00
to_c.mli Renaming: move to its own module 2024-08-28 18:12:28 +02:00
to_python.ml Python printer: add some parens to be safe 2024-08-28 18:12:33 +02:00
to_python.mli Renaming: move to its own module 2024-08-28 18:12:28 +02:00