Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
4d6aefe1
Unverified
Commit
4d6aefe1
authored
Nov 11, 2017
by
Vinicius Jarina
Committed by
GitHub
Nov 11, 2017
Browse files
Merge pull request #231 from PsyCommando/master
Fixed issue where variadic static method arguments wouldn't get read …
parents
ec9f9d23
b2329fb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Core/NLua/Method/LuaMethodWrapper.cs
View file @
4d6aefe1
...
...
@@ -169,7 +169,7 @@ namespace NLua.Method
};
if
(
_LastCalledMethod
.
argTypes
[
i
].
isParamsArray
)
{
int
count
=
index
-
_LastCalledMethod
.
argTypes
.
Length
;
int
count
=
_LastCalledMethod
.
argTypes
.
Length
-
i
;
Array
paramArray
=
_Translator
.
TableToArray
(
valueExtractor
,
type
.
paramsArrayType
,
index
,
count
);
args
[
_LastCalledMethod
.
argTypes
[
i
].
index
]
=
paramArray
;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment