summaryrefslogtreecommitdiff
path: root/examples/11-transient-0/output/java/src/test
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-07-26 16:04:41 +0100
committerMichael Williamson <mike@zwobble.org>2026-07-26 16:04:41 +0100
commit7272bb92deb55a032ef37e6f3f8549793b1e2a3b (patch)
treebc00660c6a7b0ecb3a8a39a4947cc5879a284ce5 /examples/11-transient-0/output/java/src/test
parentfadd0bd1e7eed3320dbcea67aa75a91ac5e62cca (diff)
Distinguish sum variant from untagged value in java-transient-0
Diffstat (limited to 'examples/11-transient-0/output/java/src/test')
-rw-r--r--examples/11-transient-0/output/java/src/test/java/org/zwobble/example/Transient0Tests.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/11-transient-0/output/java/src/test/java/org/zwobble/example/Transient0Tests.java b/examples/11-transient-0/output/java/src/test/java/org/zwobble/example/Transient0Tests.java
index 610532e..0a87da0 100644
--- a/examples/11-transient-0/output/java/src/test/java/org/zwobble/example/Transient0Tests.java
+++ b/examples/11-transient-0/output/java/src/test/java/org/zwobble/example/Transient0Tests.java
@@ -14,6 +14,7 @@ import java.util.Map;
import java.util.Optional;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
+import org.zwobble.example.types.HobgoblinTransient0TaggedSharedValue;
import org.zwobble.example.types.data.EnumWithVariants;
import org.zwobble.example.types.data.HobgoblinTransient0Data;
import org.zwobble.example.types.data.StructWithBool;
@@ -290,7 +291,7 @@ public class Transient0Tests {
}
private interface Encoder<T> {
- void encode(T value, OutputStream outputStream, Map<Object, Long> sharedValues) throws IOException;
+ void encode(T value, OutputStream outputStream, Map<HobgoblinTransient0TaggedSharedValue, Long> sharedValues) throws IOException;
}
private interface Decoder<T> {