From c9f82fb9df7c0fe05004f381f3f9fd1267371eea Mon Sep 17 00:00:00 2001 From: philipportner Date: Fri, 25 Oct 2024 23:39:47 +0200 Subject: [PATCH] wip fix for #866 --- src/compiler/lowering/SpecializeGenericFunctionsPass.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/lowering/SpecializeGenericFunctionsPass.cpp b/src/compiler/lowering/SpecializeGenericFunctionsPass.cpp index e6b98bc8a..38e799a74 100644 --- a/src/compiler/lowering/SpecializeGenericFunctionsPass.cpp +++ b/src/compiler/lowering/SpecializeGenericFunctionsPass.cpp @@ -352,6 +352,7 @@ class SpecializeGenericFunctionsPass : public PassWrappergetResults(), specializedFunc.getFunctionType())) { inferTypesInFunction(function); + inferTypesInFunction(specializedFunc); } specializeCallsInFunction(specializedFunc); called.insert(specializedFunc);