Skip to content

Commit

Permalink
Fix warning in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Nov 25, 2024
1 parent f270180 commit ba9e02f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testes/pluto/basic.pluto
Original file line number Diff line number Diff line change
Expand Up @@ -2908,6 +2908,7 @@ do
function __constructor(private name: string, private type: string)
end
end]]):find("attempt to use constructor promotion outside of '__construct'"))
-- @pluto_warnings disable-next ('public' is unused)
local function _valid_syntax(public) end
end
-- 'new' as a statement
Expand Down

0 comments on commit ba9e02f

Please sign in to comment.