diff --git a/moonscript-dev-1.rockspec b/moonscript-dev-1.rockspec index 68c82d5..9463105 100644 --- a/moonscript-dev-1.rockspec +++ b/moonscript-dev-1.rockspec @@ -42,9 +42,13 @@ build = { ["moonscript.parse.literals"] = "moonscript/parse/literals.lua", ["moonscript.parse.util"] = "moonscript/parse/util.lua", ["moonscript.transform"] = "moonscript/transform.lua", + ["moonscript.transform.accumulator"] = "moonscript/transform/accumulator.lua", ["moonscript.transform.destructure"] = "moonscript/transform/destructure.lua", ["moonscript.transform.names"] = "moonscript/transform/names.lua", + ["moonscript.transform.statement"] = "moonscript/transform/statement.lua", ["moonscript.transform.statements"] = "moonscript/transform/statements.lua", + ["moonscript.transform.transformer"] = "moonscript/transform/transformer.lua", + ["moonscript.transform.value"] = "moonscript/transform/value.lua", ["moonscript.types"] = "moonscript/types.lua", ["moonscript.util"] = "moonscript/util.lua", ["moonscript.version"] = "moonscript/version.lua", diff --git a/moonscript/cmd/lint.lua b/moonscript/cmd/lint.lua index 55f018b..50509e5 100644 --- a/moonscript/cmd/lint.lua +++ b/moonscript/cmd/lint.lua @@ -65,9 +65,6 @@ do end end, lint_check_unused = function(self) - do - return - end if not (self.lint_unused_names and next(self.lint_unused_names)) then return end diff --git a/moonscript/cmd/lint.moon b/moonscript/cmd/lint.moon index 853bab5..103c25e 100644 --- a/moonscript/cmd/lint.moon +++ b/moonscript/cmd/lint.moon @@ -105,7 +105,6 @@ class LinterBlock extends Block @parent\lint_mark_used name lint_check_unused: => - do return return unless @lint_unused_names and next @lint_unused_names names_by_position = {}