godot/modules/gdscript/tests/scripts/analyzer/errors/constant_subscript_type.gd

const base := [0]

func test():
	var sub := base[0]
	if sub is String: pass