You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BTW name -target=json is a bit confusing, because among all program representation we emit intermediate one. Probably should be -target=ir. We can add options like (json would be the default format)
- Fixed deadlock caused caused by bug in desugarer (unhandled case of using anonymous port `node -> ...` with `?` error-guard operator - when calling `getFirstOutportName` to get `node:port` sometimes we got `:err` which must've been skipped because of `?`)
- New cli flag `--emit-ir` added for `neva run` command, that allows to emit IR in yaml _while_ running the program to get the **exact same** IR that is actually executed (implementation and API needs to be refactored in the future)
- E2E Test added
- Fixed marshalling to JSON (and YAML added) of IR (related to #883) by adding missing method
- Added marshalling to YAML of IR
- Go updated to `1.24`
- `golangci-lint` updated to 1.64 (still no support for Go 1.24?)
- Minor refactor in desugarer - part of functionality moved from `src.Scope` (with fixes)
emil14
changed the title
JSON (IR) backend needs fixes
Add e2e tests for JSON (IR) backend
Mar 4, 2025
UPD: the bug is fixed in #874 but now we need to add e2e tests
BTW name
-target=json
is a bit confusing, because among all program representation we emit intermediate one. Probably should be-target=ir
. We can add options like (json would be the default format)The text was updated successfully, but these errors were encountered: