...
This commit is contained in:
@@ -395,12 +395,6 @@ public static class Binder
|
|||||||
|
|
||||||
NubType? type = null;
|
NubType? type = null;
|
||||||
|
|
||||||
var implementation = _definitionTable.GetImplementations().FirstOrDefault(x => x.Type.Equals(boundExpression.Type));
|
|
||||||
if (implementation != null)
|
|
||||||
{
|
|
||||||
if (implementation.Interface.)
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (boundExpression.Type)
|
switch (boundExpression.Type)
|
||||||
{
|
{
|
||||||
case NubArrayType:
|
case NubArrayType:
|
||||||
|
|||||||
@@ -17,4 +17,4 @@ public record BoundInterfaceFunc(string Name, List<BoundFuncParameter> Parameter
|
|||||||
public record BoundInterfaceDefinitionNode(IEnumerable<Token> Tokens, Optional<string> Documentation, string Namespace, string Name, List<BoundInterfaceFunc> Functions) : BoundDefinitionNode(Tokens, Documentation, Namespace);
|
public record BoundInterfaceDefinitionNode(IEnumerable<Token> Tokens, Optional<string> Documentation, string Namespace, string Name, List<BoundInterfaceFunc> Functions) : BoundDefinitionNode(Tokens, Documentation, Namespace);
|
||||||
|
|
||||||
public record BoundImplementationFunc(string Name, List<BoundFuncParameter> Parameters, NubType ReturnType, BoundBlockNode Body);
|
public record BoundImplementationFunc(string Name, List<BoundFuncParameter> Parameters, NubType ReturnType, BoundBlockNode Body);
|
||||||
public record BoundImplementationDefinitionNode(IEnumerable<Token> Tokens, Optional<string> Documentation, string Namespace, NubType Type, NubInterfaceType Interface, List<BoundImplementationFunc> Functions) : BoundDefinitionNode(Tokens, Documentation, Namespace);
|
public record BoundImplementationDefinitionNode(IEnumerable<Token> Tokens, Optional<string> Documentation, string Namespace, NubType Type, NubType Interface, List<BoundImplementationFunc> Functions) : BoundDefinitionNode(Tokens, Documentation, Namespace);
|
||||||
Reference in New Issue
Block a user