### 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
case GDScriptParser::Node::IDENTIFIER: {
			
			const GDScriptParser::IdentifierNode *in = static_cast<const GDScriptParser::IdentifierNode *>(p_expression);
			StringName identifier = in->name;
			
			if (codegen.parameters.has(identifier)) {
				return codegen.parameters[identifier];
			}
			
			if (!p_initializer && codegen.locals.has(identifier)) {
				return codegen.locals[identifier];
			}
			
			if (_is_class_member_property(codegen, identifier)) {
				
				GDScriptCodeGenerator::Address temp = codegen.add_temporary(); 
				gen->write_get_member(temp, identifier);
				return temp;
			}
			
			if (!codegen.function_node || !codegen.function_node->is_static) {
				
				if (codegen.script->member_indices.has(identifier)) {
					if (codegen.script->member_indices[identifier].getter != StringName() && codegen.script->member_indices[identifier].getter != codegen.function_name) {
						
						GDScriptCodeGenerator::Address temp = codegen.add_temporary();
						Vector<GDScriptCodeGenerator::Address> args; 
						gen->write_call_self(temp, codegen.script->member_indices[identifier].getter, args);
						return temp;
					} else {