What is the problem with this Julia code?

Probably related to this issue:

https://github.com/julia-vscode/julia-vscode/issues/1576

It is the problem with linter. So the code will work.