eclipse / shellwax

Shell script editor plugin for Eclipse
https://marketplace.eclipse.org/content/shellwax
Eclipse Public License 2.0
17 stars 12 forks source link

Fails to parse expression "${@:1:${#}-1}" #27

Closed sebthom closed 2 years ago

sebthom commented 4 years ago

Example:

#!/usr/bin/env bash

function myfunc() {
    echo "${@:1:${#}-1}"
}

myfunc 1 2 3
# prints "1 2"
akurtakov commented 4 years ago

Reported upstream https://github.com/mads-hartmann/bash-language-server/issues/173

akurtakov commented 2 years ago

No longer happens as underlying LS stepped back on checks that were emitting false positives.