8000 Reused variables that does wrong reports · Issue #3 · lpenz/atdtool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 24, 2019. It is now read-only.
This repository was archived by the owner on Nov 24, 2019. It is now read-only.
Reused variables that does wrong reports #3
Open
@Thanatermesis

Description

@Thanatermesis

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0