diff --git a/src/syntax/GATs.jl b/src/syntax/GATs.jl index c935bc3a..3bc7d233 100644 --- a/src/syntax/GATs.jl +++ b/src/syntax/GATs.jl @@ -177,7 +177,7 @@ function fromexpr!(c::Context, e, bound::TypeScope, ::Type{AlgType}; kw...)::Alg s::Symbol => AlgType(fromexpr(c, s, Ident)) Expr(:call, head, args...) => AlgType(fromexpr(c, head, Ident), - fromexpr!.(Ref(c), args, Ref(bound), Ref(AlgTerm); kw...)) + Vector{AlgTerm}(fromexpr!.(Ref(c), args, Ref(bound), Ref(AlgTerm); kw...))) _ => error("could not parse AlgType from $e") end end