소스 검색

String can be null

Hugh Sanderson 13 년 전
부모
커밋
5de702c144
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gencpp.ml

+ 1 - 1
gencpp.ml

@@ -324,7 +324,7 @@ let gen_close_namespace output class_path =
 
 (* The basic types can have default values and are passesby value *)
 let cant_be_null = function
-	| "Int" | "Bool" | "Float" | "::String" | "::haxe::io::Unsigned_char__" -> true
+	| "Int" | "Bool" | "Float" |  "::haxe::io::Unsigned_char__" -> true
 	| "int" | "bool" | "double" | "float" -> true
 	| _ -> false