Skip to content

Commit d04793f

Browse files
authored
add missing newline to UnionAll Vararg warning (#39010)
1 parent 6c047cc commit d04793f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jltypes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ JL_DLLEXPORT jl_value_t *jl_type_unionall(jl_tvar_t *v, jl_value_t *body)
433433
if (jl_options.depwarn) {
434434
if (jl_options.depwarn == JL_OPTIONS_DEPWARN_ERROR)
435435
jl_error("Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).");
436-
jl_printf(JL_STDERR, "WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).");
436+
jl_printf(JL_STDERR, "WARNING: Wrapping `Vararg` directly in UnionAll is deprecated (wrap the tuple instead).\n");
437437
}
438438
jl_vararg_t *vm = (jl_vararg_t*)body;
439439
int T_has_tv = vm->T && jl_has_typevar(vm->T, v);

0 commit comments

Comments
 (0)