Skip to content
This repository has been archived by the owner on Nov 24, 2019. It is now read-only.

Reused variables that does wrong reports #3

Open
Thanatermesis opened this issue May 31, 2013 · 0 comments
Open

Reused variables that does wrong reports #3

Thanatermesis opened this issue May 31, 2013 · 0 comments

Comments

@Thanatermesis
Copy link

Hi,

I have found a small bug which should be caused probably by recyclating variables (not cleanup them in each loop, not using them as local, etc...)

In a sample text file that looks like this:
_ _ _ _ englich _ _ writted _ _

You get this report by atdtool:
$ atdtool /tmp/english-sample.txt
/tmp/english-sample.txt:1:8: Spelling "englich"
suggestions: english, English, enrich, Anglice
/tmp/english-sample.txt:2:1: (?) Spelling "englich"
suggestions: written, writhed, witted, gritted

Notice that "Spelling englich" is referenced 2 times but only used one time, the second report is about a different word, not "englich"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant