浏览代码

(As3) fix infinite recursion on abstract core type

Simon Krajewski 11 年之前
父节点
当前提交
e2e039f19c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      genas3.ml

+ 1 - 1
genas3.ml

@@ -229,7 +229,7 @@ let rec type_str ctx t p =
 	| TEnum _ | TInst _ when List.memq t ctx.local_types ->
 		"*"
 	| TAbstract ({ a_impl = Some _ } as a,pl) ->
-		type_str ctx (apply_params a.a_types pl a.a_this) p
+		type_str ctx (Codegen.Abstract.get_underlying_type a pl) p
 	| TAbstract (a,_) ->
 		(match a.a_path with
 		| [], "Void" -> "void"