Skip to main content

Module scope_new

Module scope_new 

Source
Expand description

C++ Scope::Scope(const ScopePtr& parent, int subLevel = 0) (Analysis/src/Scope.cpp): a child scope inherits its parent’s return type and an incremented type level, and value-initializes every container. The DenseHash* empty-key sentinels match the in-class initializers in Analysis/include/Luau/Scope.h ({nullptr}, {""}, {{}}).