Skip to content

Commit

Permalink
Merge pull request yanghuan#225 from DezZolation/master
Browse files Browse the repository at this point in the history
Fixed missing tuple getRest()
  • Loading branch information
yanghuan authored May 23, 2019
2 parents 73e87e6 + 8c74aa7 commit fe165e0
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 @@ -1234,13 +1234,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 fe165e0

Please sign in to comment.