From 2ad6529350f251e844c71628870cf2c51109d9f7 Mon Sep 17 00:00:00 2001 From: nub31 Date: Fri, 4 Jul 2025 17:49:45 +0200 Subject: [PATCH] ... --- src/compiler/Syntax/Typing/Binder.cs | 6 ------ src/compiler/Syntax/Typing/BoundNode/Definition.cs | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/compiler/Syntax/Typing/Binder.cs b/src/compiler/Syntax/Typing/Binder.cs index 2abfcbd..153e1bd 100644 --- a/src/compiler/Syntax/Typing/Binder.cs +++ b/src/compiler/Syntax/Typing/Binder.cs @@ -395,12 +395,6 @@ public static class Binder NubType? type = null; - var implementation = _definitionTable.GetImplementations().FirstOrDefault(x => x.Type.Equals(boundExpression.Type)); - if (implementation != null) - { - if (implementation.Interface.) - } - switch (boundExpression.Type) { case NubArrayType: diff --git a/src/compiler/Syntax/Typing/BoundNode/Definition.cs b/src/compiler/Syntax/Typing/BoundNode/Definition.cs index 20105b0..638ec4f 100644 --- a/src/compiler/Syntax/Typing/BoundNode/Definition.cs +++ b/src/compiler/Syntax/Typing/BoundNode/Definition.cs @@ -17,4 +17,4 @@ public record BoundInterfaceFunc(string Name, List Parameter public record BoundInterfaceDefinitionNode(IEnumerable Tokens, Optional Documentation, string Namespace, string Name, List Functions) : BoundDefinitionNode(Tokens, Documentation, Namespace); public record BoundImplementationFunc(string Name, List Parameters, NubType ReturnType, BoundBlockNode Body); -public record BoundImplementationDefinitionNode(IEnumerable Tokens, Optional Documentation, string Namespace, NubType Type, NubInterfaceType Interface, List Functions) : BoundDefinitionNode(Tokens, Documentation, Namespace); \ No newline at end of file +public record BoundImplementationDefinitionNode(IEnumerable Tokens, Optional Documentation, string Namespace, NubType Type, NubType Interface, List Functions) : BoundDefinitionNode(Tokens, Documentation, Namespace); \ No newline at end of file