diff options
Diffstat (limited to 'src/ir')
-rw-r--r-- | src/ir/type-updating.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/type-updating.cpp b/src/ir/type-updating.cpp index aa042d86e..e11705812 100644 --- a/src/ir/type-updating.cpp +++ b/src/ir/type-updating.cpp @@ -70,6 +70,7 @@ void GlobalTypeRewriter::update() { // Create the temporary heap types. i = 0; for (auto [type, _] : typeIndices) { + typeBuilder[i].setFinal(type.isFinal()); if (type.isSignature()) { auto sig = type.getSignature(); TypeList newParams, newResults; |