File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -377,8 +377,8 @@ add_method_to_glob_fn!()
377377@test_parseerror " function finally() end"
378378
379379# PR #16170
380- @test Meta. lower (Main, Meta. parse (" true(x) = x" )) == Expr (:error , " invalid function name \" true\" " )
381- @test Meta. lower (Main, Meta. parse (" false(x) = x" )) == Expr (:error , " invalid function name \" false\" " )
380+ @test Meta. lower (Main, Meta. parse (" true(x) = x" )) == Expr (:error , " \" true\" is not a valid function argument name " )
381+ @test Meta. lower (Main, Meta. parse (" false(x) = x" )) == Expr (:error , " \" false\" is not a valid function argument name " )
382382
383383# issue #16355
384384@test Meta. lower (Main, :(f (d: Int... ) = nothing )) == Expr (:error , " \" d:Int\" is not a valid function argument name" )
You can’t perform that action at this time.
0 commit comments