Browse Source

[python] do not assert when abstracts are caught

Simon Krajewski 10 năm trước cách đây
mục cha
commit
e33d891610
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      genpy.ml

+ 2 - 0
genpy.ml

@@ -1417,6 +1417,8 @@ module Printer = struct
 					handle_base_type (t_infos (TClassDecl c))
 				| TEnum(en,_) ->
 					handle_base_type (t_infos (TEnumDecl en))
+				| TAbstract(a,_) ->
+					handle_base_type (t_infos (TAbstractDecl a))
 				| _ ->
 					assert false
 		in