From ba7422bc7c0f489386251d6ab5b5632be616ffd8 Mon Sep 17 00:00:00 2001 From: Smallfly Date: Thu, 19 Sep 2019 19:23:06 +0800 Subject: [PATCH] Fix Short to String --- playscript-java/src/main/play/PrimitiveType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playscript-java/src/main/play/PrimitiveType.java b/playscript-java/src/main/play/PrimitiveType.java index fd3c5a2..acc2d03 100644 --- a/playscript-java/src/main/play/PrimitiveType.java +++ b/playscript-java/src/main/play/PrimitiveType.java @@ -34,7 +34,7 @@ private PrimitiveType(String name) { public static PrimitiveType Char = new PrimitiveType("Char"); public static PrimitiveType Short = new PrimitiveType("Short"); - public static PrimitiveType String = new PrimitiveType("Short"); //增加String为基础类型 + public static PrimitiveType String = new PrimitiveType("String"); //增加String为基础类型 public static PrimitiveType Null = new PrimitiveType("null"); @@ -89,4 +89,4 @@ public boolean isType(Type type){ return this == type; } -} \ No newline at end of file +}