Skip to content

Commit

Permalink
New: Update version, moved type assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
neolithos committed Dec 21, 2014
1 parent bc56ff7 commit af58d08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions NeoLua/LuaType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public DynamicMetaObject GetMetaObject(Expression parameter)
private void ResolveType()
{
if (parent != null && // the root has no type
iAssemblyCount >= 0) // Namespace, there is no type7
iAssemblyCount >= 0) // Namespace, there is no type
{
Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();
string sTypeName = FullName;
Expand Down Expand Up @@ -482,13 +482,13 @@ private void ResolveType()

private bool SetType(Type type, bool lUpdateKnownTypes)
{
// set the value
this.type = type;

if (type == null)
return false;
else
{
// set the value
this.type = type;

// update the base type
baseType = type.BaseType != null ? LuaType.GetType(type.BaseType) : null;

Expand Down
2 changes: 1 addition & 1 deletion NeoLua/Properties/AssemblyInfoGlobal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
[assembly: AssemblyTrademark("")]

[assembly: AssemblyVersion("5.3.0.0")]
[assembly: AssemblyFileVersion("0.9.9.0")]
[assembly: AssemblyFileVersion("0.9.10.0")]

0 comments on commit af58d08

Please sign in to comment.