Closed jrfondren closed 10 months ago
No problem making these bug reports, this helps the project, I will probably take a look and fix some of them in a batch later. Most of issues you found so far are not critical, but not ideal to leave them there.
Bug description
I realize this is a very minor bug in an undocumented feature. I'm not trying for a high score of bug reports, I'm just leaning towards making issues while exploring the language. In this case, exploring the annotations in typedefs.lua. If you don't want bug reports like this, let me know and I'll hold onto them.
Code example
Expected behavior
With and without
-P bug
, this should emitwarning: use of deprecated symbol 'x'
Workaround
Provide a type. Or check in after_analyze:
Environment
x86_64 linux Nelua 0.2.0-dev Build number: 1588 Git date: 2023-09-16 16:20:44 -0300 Git hash: 596fcca5c77932da8a07c249de59a9dff3099495 Semantic version: 0.2.0-dev.1588+596fcca5 Copyright (C) 2019-2022 Eduardo Bart (https://nelua.io/)