Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make collectgarbage arguments optional (#287) #300

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Fixed display style option triggering `ArgumentConflict` when using quiet option. [(#288)](https://github.com/Kampfkarren/selene/issues/288)
- `bad_string_escape` now correctly handles escapes of the shape `\1a` (one or two numbers followed by a hex digit). (#292)[https://github.com/Kampfkarren/selene/issues/292]

### Changed
- Arguments of `collectgarbage` now considered to be optional. [(#287)](https://github.com/Kampfkarren/selene/issues/287)

## [0.14.0] - 2021-07-07
### Added
- Added `task` library to Roblox standard library.
Expand Down
1 change: 1 addition & 0 deletions selene-lib/default_std/lua51.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ type = [
"step",
"stop",
]
required = false

[[dofile.args]]
type = "string"
Expand Down
2 changes: 2 additions & 0 deletions selene-lib/tests/lints/standard_library/constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ collectgarbage("doge")
collectgarbage(1)

collectgarbage("coun" .. "t")

collectgarbage()