Browse Source

do not generate UInt

Simon Krajewski 11 years ago
parent
commit
5d14e4e75c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      genpy.ml

+ 1 - 0
genpy.ml

@@ -1789,6 +1789,7 @@ module Generator = struct
 	let gen_type ctx mt = match mt with
 		| TClassDecl c -> gen_class ctx c
 		| TEnumDecl en -> gen_enum ctx en
+		| TAbstractDecl {a_path = [],"UInt"} -> ()
 		| TAbstractDecl a when Meta.has Meta.CoreType a.a_meta -> gen_abstract ctx a
 		| _ -> ()