From 7bebed626e44aebe068b2b1c2cf0593b1be7e7e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 18 Sep 2020 09:21:54 +0200 Subject: [PATCH] Fix variadic example --- docs/Reference/Functions/Variadic.mdr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Reference/Functions/Variadic.mdr b/docs/Reference/Functions/Variadic.mdr index 46099fb2..b53da62f 100644 --- a/docs/Reference/Functions/Variadic.mdr +++ b/docs/Reference/Functions/Variadic.mdr @@ -9,7 +9,7 @@ Well, a function that takes a fixed number of arguments, and additionnal ones. fun void variadic_test(int i, ...) { <<< "first argument is ", i >>>; varloop vararg { - <<< "\tadditionnal argument", vararg.i >>>; + <<< "\tadditionnal argument", vararg $ int >>>; } } variadic_test(1); -- 2.43.0