diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-01-13 17:24:43 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-01-13 17:24:58 +0000 |
| commit | 22302031d759d0c2af946af5ad192f578a3307d7 (patch) | |
| tree | 452c917489c8c40b4bdbe1339d2a10d28ccf6c79 /src/main/java | |
| parent | 9f771c84ab1d4782852c19c0cf993e1c6e544401 (diff) | |
Add missing type to TypeInfos.supertypes()
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/org/shedlang/compiler/typechecker/TypeInfos.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/shedlang/compiler/typechecker/TypeInfos.java b/src/main/java/org/shedlang/compiler/typechecker/TypeInfos.java index 4a49cd48..22f68b38 100644 --- a/src/main/java/org/shedlang/compiler/typechecker/TypeInfos.java +++ b/src/main/java/org/shedlang/compiler/typechecker/TypeInfos.java @@ -141,7 +141,7 @@ public class TypeInfos { this.structSupertypes.getOrDefault(structType, P.orderedSet()) ); } - supertypes.plus(Types.TOP); + supertypes = supertypes.plus(Types.TOP); return supertypes; } |
