Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix reversed test that caused $!foo to always come up Null on fetch
  • Loading branch information
sorear committed Nov 6, 2011
1 parent b6be7a2 commit 87e76e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/runtime/Metamodel/Representations/P6opaque.lua
Expand Up @@ -42,7 +42,7 @@ function makeP6opaque ()
end
end
function P6opaque:get_attribute(TC, I, ClassHandle, Name)
if (I.Storage ~= nil or I.Storage[ClassHandle] == nil) then
if (I.Storage == nil or I.Storage[ClassHandle] == nil) then
return nil;
end
return I.Storage[ClassHandle][Name];
Expand Down

0 comments on commit 87e76e7

Please sign in to comment.