From 2420aca302718622531b9cbcbfaf4cd91c1889a1 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 5 Jan 2024 18:47:04 +0000 Subject: Add Function scope --- src/main/java/org/shedlang/compiler/types/Scope.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java') diff --git a/src/main/java/org/shedlang/compiler/types/Scope.java b/src/main/java/org/shedlang/compiler/types/Scope.java index 170a47f2..b7fb0ecd 100644 --- a/src/main/java/org/shedlang/compiler/types/Scope.java +++ b/src/main/java/org/shedlang/compiler/types/Scope.java @@ -1,6 +1,7 @@ package org.shedlang.compiler.types; public sealed interface Scope { + record Function(NamespaceName namespaceName, String name) implements Scope {} record Struct(SimpleStructType type) implements Scope {} record Sum(SimpleSumType type) implements Scope {} } -- cgit v1.2.3