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

Check for format string argument mismatches? #17

Open
inktrap opened this issue Oct 28, 2024 · 0 comments
Open

Check for format string argument mismatches? #17

inktrap opened this issue Oct 28, 2024 · 0 comments

Comments

@inktrap
Copy link
Collaborator

inktrap commented Oct 28, 2024

Wrong message when item used with wrong object. E.g. in cave:

> use tv with door
You need a key. {'name': 'door'}

Looks like we are handing over an argument to the format string that is not interpreted by the format string. Can we check for this kind of error in general as it would be tedious/non-practical to test all combinations of stuff you are not supposed to do

@inktrap inktrap mentioned this issue Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant