fix: allow a mix of strings and dicts for grammar
Metadata
Current evaluation
Merged a fix allowing mixed strings and dicts in grammar parsing, resolving issue #4764. Approved by two reviewers, the change updates three files with 33 additions and 4 deletions.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
Fixes https://github.com/canonical/snapcraft/issues/4764
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix allowing mixed strings and dicts in grammar parsing, resolving issue #4764. Approved by two reviewers, the change updates three files with 33 additions and 4 deletions. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix enabling mixed string and dictionary inputs for grammar configuration, resolving issue #4764. The change passed automated tests and was integrated by maintainer mr-cal. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #74 fix: handle multi-entry dictionary after grammar statement | craft-grammar | merged | Merged a fix for handling multi-entry dictionaries after grammar statements, resolving issue #73. Approved by two reviewers, the update modified three files with a net addition of 18 lines. | |
| #319 fix: apply yaml transforms before grammar | craft-application | merged | Merged a fix to apply extra_yaml_transforms before grammar processing. Backports #316 to hotfix/2.6, ensuring advanced grammar additions work correctly. Approved by two reviewers and passed CI. |