Everything is now fixed, except one example, the first bug here: * https://github.com/lfortran/lfortran/issues/1294#issuecomment-1430149634 And there is a work in progress PR to fix it at https://github.com/lfortran/lfortran/pull/1306