mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 13:30:40 +00:00
6439719cd2
When the original version was written, bidirectional type inference didn't exist, so this new kind of pattern was simply not possible. Now that it does, we can stop telling users to use the original typeof workaround. The only thing that's a bit unfortunate is the cast of `{}` into `AccountImpl`, but it's a necessary evil for now until we get a few more big ticket items. When we have that, we can likely kill the cast and call it redundant. |
||
---|---|---|
.. | ||
compatibility.md | ||
demo.md | ||
getting-started.md | ||
grammar.md | ||
library.md | ||
limited-terms-of-use.md | ||
lint.md | ||
news.md | ||
performance.md | ||
profile.md | ||
sandbox.md | ||
syntax.md | ||
typecheck.md | ||
why.md |