diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-02-28 19:18:28 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-02-29 08:04:42 +0000 |
| commit | b7e0010d6e8e5413fcd66eae158111db509eb27b (patch) | |
| tree | 35fafacd7819788b185f803a0c3797a2f54a1dca /src/main/java/org/zwobble/couscous/interpreter/values/StaticReceiverValue.java | |
| parent | d3e9fb5ce2a13bdb0ee39e9625494e8c5d2a9383 (diff) | |
Split ConcreteType up into specialised type implementations
Diffstat (limited to 'src/main/java/org/zwobble/couscous/interpreter/values/StaticReceiverValue.java')
| -rw-r--r-- | src/main/java/org/zwobble/couscous/interpreter/values/StaticReceiverValue.java | 5 |
1 files changed, 3 insertions, 2 deletions
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); } |
