From b7e0010d6e8e5413fcd66eae158111db509eb27b Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 28 Feb 2016 19:18:28 +0000 Subject: Split ConcreteType up into specialised type implementations --- .../org/zwobble/couscous/interpreter/values/StaticReceiverValue.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/java/org/zwobble/couscous/interpreter/values/StaticReceiverValue.java') diff --git a/src/main/java/org/zwobble/couscous/interpreter/values/StaticReceiverValue.java b/src/main/java/org/zwobble/couscous/interpreter/values/StaticReceiverValue.java index 2595623..cf2c9b7 100644 --- a/src/main/java/org/zwobble/couscous/interpreter/values/StaticReceiverValue.java +++ b/src/main/java/org/zwobble/couscous/interpreter/values/StaticReceiverValue.java @@ -3,14 +3,15 @@ package org.zwobble.couscous.interpreter.values; import org.zwobble.couscous.ast.MethodSignature; import org.zwobble.couscous.interpreter.Environment; import org.zwobble.couscous.interpreter.Executor; +import org.zwobble.couscous.interpreter.types.InterpreterType; import java.util.List; public class StaticReceiverValue implements ReceiverValue { - private final ConcreteType type; + private final InterpreterType type; private final InterpreterFields fields; - public StaticReceiverValue(ConcreteType type) { + public StaticReceiverValue(InterpreterType type) { this.type = type; this.fields = InterpreterFields.forClass(type); } -- cgit v1.2.3