Skip to content

Commit

Permalink
reference WebAssembly#3062 in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Aug 19, 2020
1 parent eb2a485 commit 7cad96c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wasm-type.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ class Type {
if (isMulti()) {
return Iterator(this, (*(std::vector<Type>*)getID()).size());
} else {
// TODO: unreachable expands to {unreachable} currently. change to {}?
// TODO: unreachable is special and expands to {unreachable} currently.
// see also: https://github.com/WebAssembly/binaryen/issues/3062
return Iterator(this, size_t(id != Type::none));
}
}
Expand Down

0 comments on commit 7cad96c

Please sign in to comment.