aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2025-03-08 11:32:08 +0000
committerMichael Williamson <mike@zwobble.org>2025-03-08 11:32:08 +0000
commit42a47783d6c97304235d3a0d3f1b159d6503685f (patch)
tree6e21238a93b5b4944d25237940d812115512c8ca /src/main/java
parent869448ab0ff7037b21ea42e0658e8c41aa175131 (diff)
Update Shid method-store to allow any concrete type
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/shedlang/compiler/shid/instructions/ShidMethodStore.java4
1 files changed, 2 insertions, 2 deletions
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 {