Skip to content

Commit

Permalink
STDLIB Update
Browse files Browse the repository at this point in the history
Former-commit-id: 123d2e7
Former-commit-id: 908baf1010f611b744141c9865a7b7345aa22019
  • Loading branch information
Nexela committed Apr 8, 2018
1 parent cccecb5 commit 8890be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/data/data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ function Data:get(object, object_type, opts)
end

if new then
new._valid = self.type or 'data'
new._type = self.type or 'data'
new._valid = new.type -- can change
new._type = new.type -- static
new._options = opts
setmetatable(new, self._mt)
new:Flags()
Expand Down

0 comments on commit 8890be4

Please sign in to comment.