LSP not showing error

@pfitzseb Do you know if I could use something JET.jl to get these kind of warnings? I’m using VSCode with julia-vscode extension right now.

@CameronBieganek I have some thoughts on this:

  • I love how Julia is filling this niche of scientific/numerical computing really well
  • I think one of the ways to make the best use of the rich type system is to warn the user as early in development cycle as possible
  • My thinking is every single “compile” error that I get when I run the code, I could’ve gotten earlier, had an automation run it in advance for me.
  • Also for my own personal use-cases(which are very narrow scoped), I start out by very strictly defining functions args and their return types, because that is how I’ve modelled the problem in my mind.

@CameronBieganek @pfitzseb What would be a good place to introduce this check that I was looking for? Basically get a warning that my function return is not the same as my function return annotation. Would it be LanguageServer.jl or JET.jl? I could take a stab at it.