Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect reported path for switch types when validating types
This change requires corresponding change in kaitai_struct_tests repository Partially fixes the following error (the first line): ``` [info] - attr_invalid_switch_inner *** FAILED *** [info] attr_invalid_switch_inner.ksy: /seq/1/type/cases/IntNum(42)/size: [info] error: invalid type: expected integer, got CalcBooleanType [info] [info] attr_invalid_switch_inner.ksy: /seq/1/type/cases/Name(identifier(_))/size: [info] error: invalid type: expected integer, got CalcBooleanType [info] did not equal attr_invalid_switch_inner.ksy: /seq/1/size: [info] error: invalid type: expected integer, got CalcBooleanType (SimpleMatchers.scala:34) ```
- Loading branch information