From 0fb465389d8d9e4455d4a57ce68f7744676ddb89 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 2 Feb 2024 22:46:06 +0000 Subject: Fix use of type constants --- .../java/org/shedlang/compiler/shidtopatio/ShidToPatioEffects.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/org/shedlang/compiler/shidtopatio/ShidToPatioEffects.java b/src/main/java/org/shedlang/compiler/shidtopatio/ShidToPatioEffects.java index 4a6baaa3..9f165a2d 100644 --- a/src/main/java/org/shedlang/compiler/shidtopatio/ShidToPatioEffects.java +++ b/src/main/java/org/shedlang/compiler/shidtopatio/ShidToPatioEffects.java @@ -434,7 +434,7 @@ public class ShidToPatioEffects { (closurePointer, bodyContext) -> { var previousEffectHandlerResult = bodyContext.allocateVal( ShidToPatioLocalSpace.EFFECT_HANDLER, - EFFECT_HANDLER_METHOD_POINTER_TYPE + EFFECT_HANDLER_TYPE ); var previousEffectHandler = previousEffectHandlerResult.value(); bodyContext = previousEffectHandlerResult.context(); @@ -445,7 +445,7 @@ public class ShidToPatioEffects { var effectHandlerResult = bodyContext.allocateVal( ShidToPatioLocalSpace.EFFECT_HANDLER, - EFFECT_HANDLER_METHOD_POINTER_TYPE + EFFECT_HANDLER_TYPE ); var effectHandler = effectHandlerResult.value(); bodyContext = effectHandlerResult.context(); -- cgit v1.2.3