From a2e767f256287841dcc715117fd1c967f0471227 Mon Sep 17 00:00:00 2001 From: Sergio Alejandro Vargas Date: Mon, 18 Dec 2023 15:06:44 -0500 Subject: [PATCH] Update test for unused-function-parameter --- lang/best-practice/unused-function-parameter.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/best-practice/unused-function-parameter.jl b/lang/best-practice/unused-function-parameter.jl index 6e143ef..dfe82a9 100644 --- a/lang/best-practice/unused-function-parameter.jl +++ b/lang/best-practice/unused-function-parameter.jl @@ -10,9 +10,9 @@ function foo(x) y end - #ok: unused-function-parameter + #todook: unused-function-parameter function foo(x) - x = 3 + x = 3 # TODO: Mutating parameters should count as using them end #ok: unused-function-parameter @@ -25,4 +25,4 @@ function foo(x) y = x return y end - \ No newline at end of file +