Skip to content

Commit 7cad96c

Browse files
committed
reference WebAssembly#3062 in comment
1 parent eb2a485 commit 7cad96c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wasm-type.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ class Type {
211211
if (isMulti()) {
212212
return Iterator(this, (*(std::vector<Type>*)getID()).size());
213213
} else {
214-
// TODO: unreachable expands to {unreachable} currently. change to {}?
214+
// TODO: unreachable is special and expands to {unreachable} currently.
215+
// see also: https://github.com/WebAssembly/binaryen/issues/3062
215216
return Iterator(this, size_t(id != Type::none));
216217
}
217218
}

0 commit comments

Comments
 (0)