julia-vscode / StaticLint.jl

Static Code Analysis for Julia
Other
145 stars 28 forks source link

Code point normalization trips up linter #346

Open fredrikekre opened 2 years ago

fredrikekre commented 2 years ago
function f()
    ε = 1     # U+03B5             <---- Variable has been assigned but not used.
    x = ɛ + 1 # U+025B
    return x
end

Strangely enough, there is no complaint for ɛ being undefined on the second line of the function though.