Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/yanghuan/CSharp.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghuan committed May 24, 2019
2 parents 0ab6d21 + fe165e0 commit d299bb2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CSharp.lua/CoreSystem.Lua/CoreSystem/Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1235,13 +1235,18 @@ local function tupleGet(t, index)
return t[index + 1]
end

local function tupleGetRest(t)
return t[8]
end

local Tuple = {
Deconstruct = tupleDeconstruct,
ToString = tupleToString,
EqualsObj = tupleEqualsObj,
CompareToObj = tupleCompareToObj,
getLength = tupleLength,
get = tupleGet
get = tupleGet,
getRest = tupleGetRest
}

defCls("System.Tuple", Tuple)
Expand Down

0 comments on commit d299bb2

Please sign in to comment.