From 6d3270e4c8a159e4237b05867fd6903742a922df Mon Sep 17 00:00:00 2001 From: Simeon Schaub Date: Sun, 27 Dec 2020 02:11:02 +0100 Subject: [PATCH] add missing newline to UnionAll Vararg warning --- src/jltypes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jltypes.c b/src/jltypes.c index 0166430671bb1..6da3211dbd374 100644 --- a/src/jltypes.c +++ b/src/jltypes.c @@ -433,7 +433,7 @@ JL_DLLEXPORT jl_value_t *jl_type_unionall(jl_tvar_t *v, jl_value_t *body) if (jl_options.depwarn) { if (jl_options.depwarn == JL_OPTIONS_DEPWARN_ERROR) jl_error("Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead)."); - jl_printf(JL_STDERR, "WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead)."); + jl_printf(JL_STDERR, "WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).\n"); } jl_vararg_t *vm = (jl_vararg_t*)body; int T_has_tv = vm->T && jl_has_typevar(vm->T, v);