فهرست منبع

[python] do not assert when abstracts are caught

Simon Krajewski 10 سال پیش
والد
کامیت
e33d891610
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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