### Godot version

Godot 4.0 Beta 11 x64 Linux Official

### System information

Linux Mint 21.1 Cinnamon 64Bit Linux OS

### Issue description

Hi,

On Godot 4.0 Beta 10 everything was OK.
On new Godot 4.0 Beta 11, our game does not run?

Getting strange errors like below:
```
for index in range(0, 4):
	InterfaceCore.Icons.IconAnimationTimer[index] = -1
# Parser Error: Could not resolve member "Icons": Cyclic reference.
```

Any ideas?

### Steps to reproduce

Reproducible when running game on Godot 4.0 Beta 11 x64 Linux version.

### Minimal reproduction project

https://github.com/BetaMaxHero/GDScript_Godot_4_T-Story
prop_info.hint = export_info.hint;
					prop_info.hint_string = export_info.hint_string;
					prop_info.usage = export_info.usage | PROPERTY_USAGE_SCRIPT_VARIABLE;
				} else {
					prop_info.usage = PROPERTY_USAGE_SCRIPT_VARIABLE;
				}
#ifdef TOOLS_ENABLED
				p_script->doc_variables[name] = variable->doc_description;
#endif
				p_script->member_info[name] = prop_info;
				p_script->member_indices[name] = minfo;
				p_script->members.insert(name);
#ifdef TOOLS_ENABLED
				if (variable->initializer != nullptr && variable->initializer->is_constant) {
					p_script->member_default_values[name] = variable->initializer->reduced_value;
					GDScriptCompiler::convert_to_initializer_type(p_script->member_default_values[name], variable);
				} else {
					p_script->member_default_values.erase(name);
				}
				p_script->member_lines[name] = variable->start_line;
#endif
			} break;
			case GDScriptParser::ClassNode::Member::CONSTANT: {
				const GDScriptParser::ConstantNode *constant = member.constant;
				StringName name = constant->identifier->name;
				p_script->constants.insert(name, constant->initializer->reduced_value);
#ifdef TOOLS_ENABLED
				p_script->member_lines[name] = constant->start_line;
				if (!constant->doc_description.is_empty()) {
					p_script->doc_constants[name] = constant->doc_description;