diff options
author | Ben Smith <binjimin@gmail.com> | 2017-10-30 11:17:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-30 11:17:04 -0700 |
commit | fa0f11e9f54a8c8f4d7f0a5d2cd1cf113f30f461 (patch) | |
tree | b0ac7297f6df3998586c0e6849c65bf1341a38c4 /src/binary-reader-objdump.cc | |
parent | b230d2f7d23d1c03aa4acf5f7de11e3865bb3727 (diff) | |
download | wabt-fa0f11e9f54a8c8f4d7f0a5d2cd1cf113f30f461.tar.gz wabt-fa0f11e9f54a8c8f4d7f0a5d2cd1cf113f30f461.tar.bz2 wabt-fa0f11e9f54a8c8f4d7f0a5d2cd1cf113f30f461.zip |
Better type-checking errors (#662)
Instead of printing errors on every failure, accumulate errors for each
operation. If any fails, then print a message. It changes errors such
as:
```
error: type mismatch in i64.store, expected i32 but got f32.
error: type mismatch in i64.store, expected i64 but got i32.
```
to:
```
error: type mismatch in i64.store, expected [i32, i64] but got [f32, i32]
```
Diffstat (limited to 'src/binary-reader-objdump.cc')
0 files changed, 0 insertions, 0 deletions