* RFC: Deprecated Attribute for Functions
* Minor fixes.
* Apply review suggestions and fix text.
* Add methods
* Mention methods and fix text
* Alex
* upto is not a word :mindblown:
* Add example
* Update docs/syntax-attribute-functions-deprecated.md
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
* Update docs/syntax-attribute-functions-deprecated.md
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
* Add example for properties
* Update docs/syntax-attribute-functions-deprecated.md
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
* Update docs/syntax-attribute-functions-deprecated.md
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
---------
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
* Renamed all instances of type operators to type functions
* Update docs/index-type-operator.md
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
---------
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
* Initial commit for rawget
* rfc for rawget type operator completed
* Forgot .md
* Code blocks '''lua -> '''luau
* grammar fixes
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
* Revised motivation section and design section
* Revised the drawbacks section
* Added a note about how this type operator doesn't work with class types
* Rephrased the summary
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
* Redirect users to open-source Luau global functions
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
* reword "runtime pair" to counterpart and update the link
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
* grammar fix: "interactions" -> "interaction"
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
* Revised wording for motivation section
Co-authored-by: aaron <aweiss@hey.com>
* Added an article and broke up a sentence into two
Co-authored-by: aaron <aweiss@hey.com>
* Revided the reasoning for second drawback
* Update docs/rawget-type-operator.md
Co-authored-by: aaron <aweiss@hey.com>
---------
Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
Co-authored-by: aaron <aweiss@hey.com>
* RFC for native attribute
* Use "comment directive" terminology instead of "hotcomment"
* Improve motivation and fix markdownlint errors.
* `@native` does not apply recursively
* Remove warning section
* RFC for attribute parameters
* Use a relative path to generalize for GitHub and the RFC site.
* Add reason for allowing `nil` parameter
* Handle forward compatibility and clarify parsing behavior.
* Slight rewording
* Add discussion for handling `@checked`
* Update description for new syntax.
* Improve presentation, fix ebnf syntax, and address comments.
* Propose function-call syntax for attributes
* Create require-by-string-aliases.md
* Update require-by-string-aliases.md
* Update require-by-string-aliases.md
* Changed aliases to be case-insensitive + restricted the charset
* Update docs/require-by-string-aliases.md
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
* Update require-by-string-aliases.md to have @
* Include justification for alias name case insensitivity
* Fixed typo
* Removed duplicate section
---------
Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com>
This function might be of particular use if #739 is accepted, but as it
stands, it still brings a measurable reduction in complexity for
swapping byte order and is measurably faster (around a 50% reduction in
time per operation on my machine), albeit on the order of magnitude of
nanoseconds.
String interpolation and table.getn/et al deprecation has been live for
a while.
getfenv/setfenv linter diagnostics is going to ship in the next release,
so preemptively marking this as Implemented as well.
It looks like all three functions actually have been deprecated in Lua
5.1, and removed in Lua 5.2.
We do not plan to remove them to retain backwards compatibility, but the
RFC should be more precise.