From 42a47783d6c97304235d3a0d3f1b159d6503685f Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 8 Mar 2025 11:32:08 +0000 Subject: Update Shid method-store to allow any concrete type --- .../java/org/shedlang/compiler/shid/instructions/ShidMethodStore.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java') diff --git a/src/main/java/org/shedlang/compiler/shid/instructions/ShidMethodStore.java b/src/main/java/org/shedlang/compiler/shid/instructions/ShidMethodStore.java index fedcf511..8398be61 100644 --- a/src/main/java/org/shedlang/compiler/shid/instructions/ShidMethodStore.java +++ b/src/main/java/org/shedlang/compiler/shid/instructions/ShidMethodStore.java @@ -1,14 +1,14 @@ package org.shedlang.compiler.shid.instructions; import org.shedlang.compiler.sources.Source; -import org.shedlang.compiler.types.SimpleStructType; +import org.shedlang.compiler.types.SimpleConcreteType; /** * Pop a value from the temporary value stack and store it as a method with the * given name for the given type. */ public record ShidMethodStore( - SimpleStructType type, + SimpleConcreteType type, String methodName, Source source ) implements ShidInstruction { -- cgit v1.2.3