Skip to content

Commit

Permalink
Fix error message for invalid memory flags
Browse files Browse the repository at this point in the history
  • Loading branch information
titzer committed Sep 6, 2024
1 parent 60b5250 commit b9d0e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/ErrorGen.v3
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ class ErrorGen(filename: string) {
}
def InvalidTableFlags(flags: byte) {
setc(WasmError.INVALID_TABLE_FLAGS,
Strings.format1("invalid global flags 0x%x", flags));
Strings.format1("invalid table flags 0x%x", flags));
}
def InvalidMemoryFlags(flags: byte) {
setc(WasmError.INVALID_MEMORY_FLAGS,
Strings.format1("invalid global flags 0x%x", flags));
Strings.format1("invalid memory flags 0x%x", flags));
}
def InvalidImportKind(code: byte) {
setc(WasmError.INVALID_IMPORT_KIND,
Expand Down

0 comments on commit b9d0e88

Please sign in to comment.