Просмотр исходного кода

[as3] a_impl = Some _ doesn't imply non-@:coreType. Fix bug introduced by UInt changes

Cauê Waneck 10 лет назад
Родитель
Сommit
5068cea7cf
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      genas3.ml

+ 1 - 1
genas3.ml

@@ -228,7 +228,7 @@ let rec type_str ctx t p =
 	match t with
 	| TEnum _ | TInst _ when List.memq t ctx.local_types ->
 		"*"
-	| TAbstract ({ a_impl = Some _ } as a,pl) ->
+	| TAbstract (a,pl) when not (Ast.Meta.has Ast.Meta.CoreType a.a_meta) ->
 		type_str ctx (Abstract.get_underlying_type a pl) p
 	| TAbstract (a,_) ->
 		(match a.a_path with