Hisham Muhammad
Hisham Muhammad
I believe some of these lenient behaviors on things like matching literal tables date back from the earliest versions of the compiler when the typing rules weren't as well-defined. But...
@mbartlett21 No need to rebase at this time, thanks! I'm still moving things around a lot over there, so let me try to settle on a structure first.
@mbartlett21 I think it's fine to keep it all together! It's a small tweak to the Makefile. Also, looks like my locally generated tl.lua included some leftover files in it....
`T | nil` does not do what you expect. All types in Teal currently include nil. So writing `T | nil` is not a way to signal an "optional type",...
My concern about this is that people might assume that those initializations apply to _instances_ of the Foo type, and not only to Foo's "prototype table".
@lenscas I see what you mean. I'm not sure what would be a good word for it, though. `static` itself is one obvious choice, but that is so overloaded. And...
@BLKTower yes, there are plans! We will add comment metadata to the parser as part of the tealdoc project (cc @upedd!)
It's an oversight. We should add the missing parts!
Thanks for the PR, but this is intended primarily as a portable library. It does leak some Unix-specific info, but at least it does have a minimal implementation of `lfs.attributes`...
This is the most detailed issue report I've ever seen in my 25+ years doing free software, and I hope it gets the attention and the treatment from the upstream...