mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update read-only-environment.md
This commit is contained in:
parent
97dbcf5926
commit
d9d3b1dc20
1 changed files with 2 additions and 0 deletions
|
@ -29,3 +29,5 @@ Works identically to `getfenv` but only provides read-only access to the functio
|
||||||
Type-checking can be difficult.
|
Type-checking can be difficult.
|
||||||
|
|
||||||
Roblox's marketplace currently hides assets that use `getfenv` so it would need to be updated to hide assets with `_ENV`/`getenv`/`getrenv`.
|
Roblox's marketplace currently hides assets that use `getfenv` so it would need to be updated to hide assets with `_ENV`/`getenv`/`getrenv`.
|
||||||
|
|
||||||
|
Environments can have metamethods of their own which may not interface well with a read-only `getenv`/`getrenv`.
|
||||||
|
|
Loading…
Add table
Reference in a new issue