aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/shedlang/compiler/types/TypeSubstitution.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/org/shedlang/compiler/types/TypeSubstitution.java b/src/main/java/org/shedlang/compiler/types/TypeSubstitution.java
index a6719d17..5d2b7077 100644
--- a/src/main/java/org/shedlang/compiler/types/TypeSubstitution.java
+++ b/src/main/java/org/shedlang/compiler/types/TypeSubstitution.java
@@ -33,9 +33,8 @@ public class TypeSubstitution {
case StringType stringType -> type;
- case StructType structType -> {
- throw new UnsupportedOperationException("TODO");
- }
+ case StructType structType ->
+ type;
case SumType sumType -> {
throw new UnsupportedOperationException("TODO");