Improve the instruction diagnostic for some access chain errors (#5978)
commit04b4a204aa501992ae85a207be1e200e195c98e1
authoralan-baker <alanbaker@google.com>
Thu, 30 Jan 2025 20:46:00 +0000 (30 15:46 -0500)
committerGitHub <noreply@github.com>
Thu, 30 Jan 2025 20:46:00 +0000 (30 15:46 -0500)
tree71068f13508ef3354fd7747ea59b0e7d86c839a9
parent96b46d160a969c2762f605fb488de57770a63c6c
Improve the instruction diagnostic for some access chain errors (#5978)

Fixes #3263

* The checks relating to structure indexing used the index disassembly
  instead of the access chain making it difficult to determine where the
  actual error occurred
source/val/validate_memory.cpp
test/val/val_id_test.cpp
test/val/val_memory_test.cpp