cb4d3525c2
The previous implementation of the binder had a slightly complex way of handling the root scope. This commit simplifies that logic by directly checking if the current scope is the root scope and the scope stack has only one element. This makes the code more readable and maintainable.