Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(parser/json): JSON parser failing on explicit matrix index domains #716

Merged
merged 2 commits into from
Mar 12, 2025

Conversation

niklasdewally
Copy link
Collaborator

@niklasdewally niklasdewally commented Mar 11, 2025

  • Add an edge case for domain parsing in the JSON parser, fixing the parsing of explicit matrix index domains. This fixes test basic/matrix/05-value-letting-index

  • Do not run remove_empty on AbstractLiteral expressions.

+ Add an edge case for domain parsing in the JSON parser, fixing the
  parsing of explicit matrix index domains. This fixes test
  basic/matrix/04-value-letting.

 + Do not run `remove_empty` on `AbstractLiteral` expressions.
@niklasdewally
Copy link
Collaborator Author

Apologies, I seemed to miss this incorrect test output when checking the previous PR.

@niklasdewally niklasdewally self-assigned this Mar 11, 2025
@niklasdewally niklasdewally marked this pull request as ready for review March 11, 2025 16:55
Copy link
Contributor

Code and Documentation Coverage Report

Documentation Coverage

This PR:

conjure_core: 3% with examples, 54% documented -- 8/153/296
conjure_oxide: 0% with examples, 16% documented -- 0/6/35
minion_rs: 30% with examples, 82% documented -- 2/23/112
tree-morph: 50% with examples, 100% documented -- 9/22/22

Main:

conjure_core: 3% with examples, 54% documented -- 8/153/296
conjure_oxide: 0% with examples, 16% documented -- 0/6/35
minion_rs: 30% with examples, 82% documented -- 2/23/112
tree-morph: 50% with examples, 100% documented -- 9/22/22

View full documentation coverage for main, this PR

Code Coverage Summary

This PR: Detailed Report

  functions..: 64.8% (771 of 1190 functions)
  branches...: no data found

Main: Detailed Report

  functions..: 64.8% (770 of 1189 functions)
  branches...: no data found

Coverage Main & PR Coverage Change

Functions coverage changed by 0.00% and covered lines changed by 1
Branches... coverage: No comparison data available

@ozgurakgun ozgurakgun merged commit 18716ff into main Mar 12, 2025
14 checks passed
@ozgurakgun ozgurakgun deleted the nik/matrix/fix-indices branch March 12, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants