From e771ba5cd7cccd6197b8fb00749c332012c187d7 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 9 Feb 2025 17:25:18 +0000 Subject: Use SimpleNativeType to describe scope --- src/main/java/org/shedlang/compiler/types/Scope.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/org') diff --git a/src/main/java/org/shedlang/compiler/types/Scope.java b/src/main/java/org/shedlang/compiler/types/Scope.java index 9a61e51e..2b64c5a5 100644 --- a/src/main/java/org/shedlang/compiler/types/Scope.java +++ b/src/main/java/org/shedlang/compiler/types/Scope.java @@ -2,7 +2,7 @@ package org.shedlang.compiler.types; public sealed interface Scope { record Function(NamespaceName namespaceName, String name) implements Scope {} - record NativeType(org.shedlang.compiler.types.NativeType type) implements Scope {} + record NativeType(SimpleNativeType type) implements Scope {} record Struct(SimpleStructType type) implements Scope {} record Sum(SimpleSumType type) implements Scope {} } -- cgit v1.2.3