CoffeeChaton / vscode-autohotkey-NekoHelp

autoHotkey-1.1 IntelliSense, format, linters, in vscode https://marketplace.visualstudio.com/items?itemName=cat1122.vscode-autohotkey-neko-help

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rules 120 and 126 error

anonymous1184 opened this issue · comments

First, let me start by thanking you for the great work you have done. This is not just another copy of the same extension with a couple of modifications, this is truly helpful. Wish I could find out about it before.

I do have some small issues that I haven't reported as I'm moving from v1.1, however this one is hard to let slip.

A short-circuit evaluation is marked as a warning (#120), subsequently forced expressions are marked as errors (#126):

#Warn All

(Fn0() && Echo())
(Fn1() && Echo())
MsgBox % "No runtime warning/errors"

Fn0() {
    return false
}

Fn1() {
    return true
}

Echo() {
    OutputDebug ECHO
}

I incorrectly parsed it as Method part2
It will probably be repaired by the weekend, thank you very much for your report!