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
c162d48d
"vscode:/vscode.git/clone" did not exist on "f15f63aed2fb45d28bfa3554b453a42f3e8cc3ee"
Commit
c162d48d
authored
Dec 29, 2014
by
Isaac Brodsky
Browse files
Fix nullable bool
parent
b2f1afc5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Core/NLua/CheckType.cs
View file @
c162d48d
...
@@ -125,7 +125,7 @@ namespace NLua
...
@@ -125,7 +125,7 @@ namespace NLua
// null can always be assigned to nullable
// null can always be assigned to nullable
if
(
luatype
==
LuaTypes
.
Nil
)
{
if
(
luatype
==
LuaTypes
.
Nil
)
{
// Return the correct extractor anyways
// Return the correct extractor anyways
if
(
netParamIsNumeric
)
if
(
netParamIsNumeric
||
paramType
==
typeof
(
bool
)
)
return
extractValues
[
extractKey
];
return
extractValues
[
extractKey
];
return
extractNetObject
;
return
extractNetObject
;
}
}
...
...
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