From 89edbfaffe7dbbcc4fda2c22fa64ae078fd6ead9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 24 Jan 2024 15:13:53 +0800 Subject: Revert "Merge pull request #2481 from fesily/automatic-derivation-function-param-type" This reverts commit 34319c7990cba47ddc00e77aabfccbb923f84e26, reversing changes made to ef7157c450254b0ee447960b0cb06d6f1b0dbaaa. --- test/diagnostics/await-in-sync.lua | 2 +- test/diagnostics/redundant-parameter.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test/diagnostics') diff --git a/test/diagnostics/await-in-sync.lua b/test/diagnostics/await-in-sync.lua index 7647f2eb..323c1113 100644 --- a/test/diagnostics/await-in-sync.lua +++ b/test/diagnostics/await-in-sync.lua @@ -119,7 +119,7 @@ end TEST [[ local function f(cb) - () + cb() end local function af() diff --git a/test/diagnostics/redundant-parameter.lua b/test/diagnostics/redundant-parameter.lua index 520a6381..fabe3340 100644 --- a/test/diagnostics/redundant-parameter.lua +++ b/test/diagnostics/redundant-parameter.lua @@ -94,7 +94,7 @@ print(1, 2, 3, 4, 5) TEST [[ local function f(callback) - callback(, , ) + callback(1, 2, 3) end f(function () end) ]] -- cgit v1.2.3