diff options
Diffstat (limited to 'src/main/java/org/zwobble/couscous/interpreter')
| -rw-r--r-- | src/main/java/org/zwobble/couscous/interpreter/types/IntrinsicInterpreterType.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/zwobble/couscous/interpreter/types/IntrinsicInterpreterType.java b/src/main/java/org/zwobble/couscous/interpreter/types/IntrinsicInterpreterType.java index b53b274..e687938 100644 --- a/src/main/java/org/zwobble/couscous/interpreter/types/IntrinsicInterpreterType.java +++ b/src/main/java/org/zwobble/couscous/interpreter/types/IntrinsicInterpreterType.java @@ -28,7 +28,7 @@ public class IntrinsicInterpreterType implements InterpreterType { } public static <T> Builder<T> builder(Class<T> interpreterValueType, String name) { - return builder(interpreterValueType, ScalarType.of(name)); + return builder(interpreterValueType, ScalarType.topLevel(name)); } public static Builder<ObjectInterpreterValue> classBuilder(String name) { |
