diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-07 23:25:49 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-07 23:26:50 +0200 |
| commit | 2b1356d371b52d68243ddebbfcf3f65047c2fd76 (patch) | |
| tree | 162b56abce5811fd46694a95c25ea61ec6dd6593 /tests | |
| parent | 6b43fd7c0773bd97c4bd80145a17d67062afd4ea (diff) | |
| download | tools.nes-2b1356d371b52d68243ddebbfcf3f65047c2fd76.tar.gz tools.nes-2b1356d371b52d68243ddebbfcf3f65047c2fd76.zip | |
Be more specific on unused objects
It was downright lazy from my end to not inspect the line of the object
that was being unused. Fix this by trying to fetch the bundle's node.
This right now applies to variable definitions. Objects like macro
arguments are pending to be done.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/expected/unused_definition.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expected/unused_definition.txt b/tests/expected/unused_definition.txt index 8e851b0..3d76553 100644 --- a/tests/expected/unused_definition.txt +++ b/tests/expected/unused_definition.txt @@ -1 +1 @@ -error: variable 'Var' is unused (def.s) +error: variable 'Var' is unused (def.s: line 2) |
