OpenDream
OpenDream copied to clipboard
Lint for redundant positional arguments.
Fixes #1768, adds a new lint.
Warning OD2210 at code/modules/gamemaster/actions/atmos_leak.dm:20:45: The argument at index 1 is a positional argument with a redundant index (`1 = value` at argument 1). This does not function like a named argument and is likely a mistake.
Warning OD2210 at code/modules/gamemaster/actions/atmos_leak.dm:21:24: The argument at index 2 is a positional argument with a redundant index (`2 = value` at argument 2). This does not function like a named argument and is likely a mistake.
Warning OD2210 at code/modules/gamemaster/actions/atmos_leak.dm:22:21: The argument at index 3 is a positional argument with a redundant index (`3 = value` at argument 3). This does not function like a named argument and is likely a mistake.
this accidentally depends on #1767 and im too lazy to fix it merge that first.
Unit tests plz