From fbc49137c8a012b40844ca8b487de83098651595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=94=A6=E4=BF=8A?= Date: Mon, 18 Mar 2019 18:19:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=87=A0=E4=B8=AA=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CSharp.lua/CoreSystem.Lua/All.lua | 2 +- CSharp.lua/CoreSystem.Lua/CoreSystem/Collection.lua | 2 +- CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CSharp.lua/CoreSystem.Lua/All.lua b/CSharp.lua/CoreSystem.Lua/All.lua index cd46a826..49d9adc6 100644 --- a/CSharp.lua/CoreSystem.Lua/All.lua +++ b/CSharp.lua/CoreSystem.Lua/All.lua @@ -30,10 +30,10 @@ return function(dir, conf) load("Enum") load("TimeSpan") load("DateTime") - load("Type") load("Collections.EqualityComparer") load("Collection") load("Array") + load("Type") load("Collections.List") load("Collections.Dictionary") load("Collections.Queue") diff --git a/CSharp.lua/CoreSystem.Lua/CoreSystem/Collection.lua b/CSharp.lua/CoreSystem.Lua/CoreSystem/Collection.lua index f576811f..3b6244a7 100644 --- a/CSharp.lua/CoreSystem.Lua/CoreSystem/Collection.lua +++ b/CSharp.lua/CoreSystem.Lua/CoreSystem/Collection.lua @@ -551,7 +551,7 @@ function Collection.forEachArray(t, action) if action == null then throw(ArgumentNullException("action")) end local version = versions[t] for i = 1, #t do - if versions ~= versions[t] then + if version ~= versions[t] then throwFailedVersion() end action(unWrap(t[i])) diff --git a/CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua b/CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua index e2bc92d9..a34a3c67 100644 --- a/CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua +++ b/CSharp.lua/CoreSystem.Lua/CoreSystem/Delegate.lua @@ -325,7 +325,7 @@ end local function create0_2(f) return function(x1, x2, T1, T2) - return f(x1, x2, T2) + return f(x1, x2, T1, T2) end end