Mingun

Results 157 issues of Mingun

Fix the internal compiler errors in case of incorrect usages, as in this example: ```yaml meta: id: internal_errors seq: - id: value1 type: u1 if: _ - id: value2 type:...

After this change all paths in errors will point to existing nodes in KSY file and node, where error is originated This PR introduces 10 new failures (76 vs 66)...

Document DataType classes and fix 2 related non-exhaustive warnings. The following warnings were fixed (from [this](https://github.com/kaitai-io/kaitai_struct_compiler/actions/runs/4156439688/jobs/7190229209) run): ``` [warn] /home/runner/work/kaitai_struct_compiler/kaitai_struct_compiler/compiler/shared/src/main/scala/io/kaitai/struct/precompile/CalculateSeqSizes.scala:106:5: match may not be exhaustive. [warn] It would fail on...

This PR improves situation with `_sizeof` / `sizeof`: - `switch-on` types with the same size in all arms now correctly have the constant size - `if` keys now correctly influence...

New interface `PositionInfo` introduced to allow to get position information without reflective access in generic way. Closes https://github.com/kaitai-io/kaitai_struct_java_runtime/issues/27 Store offset of streams from begin of root stream in `offset` field....

This change fixes https://github.com/kaitai-io/kaitai_struct_tests/blob/master/formats/expr_ops_parens.ksy test for Java and, I'm sure, for all other targets

Should be merged together with changes in tests: https://github.com/kaitai-io/kaitai_struct_tests/pull/94 Fixes https://github.com/kaitai-io/kaitai_struct/issues/776

Also document that nodes and related `AbstractTranslator` methods. Renames: |Before|After| |------|-----| |`Ast.expr.EnumById`|`Ast.expr.EnumCast`| |`Ast.expr.EnumByLabel`|`Ast.expr.EnumVariant`|