An imported graph keeps the file's names and types.
0.166.x2026-10-14
FeatureEditorDocs
An imported graph keeps the file's names and types.
Release
0.166.0An imported graph keeps the file's names and types.New2026-10-14
Added
0.166.0Names stay as written. An imported graph no longer renames a local that shadows another, drops a leading underscore, or turns self into self_, so Luau kept as text still reads the variable it read in the file. A name that hides a global, a service or a module is kept and flagged on its node.
0.166.0Types stay as written, with or without a mode line. Parameters, returns and locals keep the annotations the file gave them and gain none it did not: no : () on a function that said nothing, no = nil on local conn: RBXScriptConnection, and a table type set out over several lines is written on one rather than as any.
0.166.0Loops stay as written.for k, v in t is no longer turned into pairs(t), and for k in t keeps its one variable.