5 ms·
Shouldn't the language flag that using local in that scope is an error then?
by akkad33 2y ago
Shouldn't the language flag that using local in that scope is an error then?
- sgt101 2y agoYes - the error reporting has always been one of my complaints about Julia (although it's hugely improved). I think that the Julia dev community are really really interested in cool language features and optimisations but much less empathic with numpties like me that can't understand why their code crashes. More work on this would be much better. Although it's a bit of an challenge to get the interpreter to understand which thing that's out of scope should be in scope for the code to work (because it's all out of scope..)
- adgjlsfhk1 2y agohttps://github.com/JuliaLang/julia/issues/57483 https://github.com/JuliaLang/julia/issues/57483 yes, yes it should.
- sgt101 2y agowell done that man