Matt Mc
Matt Mc
...Whaaat?! Yes, unfortunate. Is that a spec thing, or a particular implementation? What environments are you testing in, perchance?
> Messing with the contents of the standard library tables isn't a great idea in general (think what happens if multiple libraries you depend on decide to do it in...
> I want it so libraries can't modify the stdlib And yet, there are libraries that modify the stdlib. My perception of Teal's mission is to have typesafe Lua, including...
> Technically it is possible to write code that breaks when adding methods to a module. This is because modules in lua are just tables and thus can be given...
Question: how far off is the language server? Regardless, tl check is already being used as a linter for Lite. Adding “err” and “warn” in front of each line just...
> I don't know to be honest :( There is a vscode plugin that works pretty well, but not sure how the language server is developing. Gotcha, alright. > My...
Well, I guess it’s not a linter, it’s a typechecker? It’s being used as a linter and is specifically called out in the Teal read me as offering linting for...
Any advice on getting around this?
Yeah, I have a spec I don't want to mess with. Ideally the types generated for request bodies have some kind of configurable suffix to allow devs to resolve conflicts...