Skip to content

Commit

Permalink
Revert "pl.class can be used more conveniently from Moonscript"
Browse files Browse the repository at this point in the history
This reverts commit 552807f.
  • Loading branch information
alerque committed Sep 29, 2020
1 parent e5fea09 commit 3d0b413
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/pl/class.lua
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ local function _class(base,c_arg,c)
setmetatable(c,mt)
if not plain then
if base and rawget(base,'_init') then c._parent_with_init = base end -- For super and inherited init
c._init = nil
end

if base and rawget(base,'_class_init') then
Expand Down

0 comments on commit 3d0b413

Please sign in to comment.