Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inspect() loop detection #638

Open
ilyash-b opened this issue May 14, 2023 · 1 comment
Open

inspect() loop detection #638

ilyash-b opened this issue May 14, 2023 · 1 comment
Labels

Comments

@ilyash-b
Copy link
Contributor

No description provided.

@ilyash-b ilyash-b added the bug label May 14, 2023
@ilyash-b
Copy link
Contributor Author

Cause: inspect_meta() in

	doc %STATUS - internal
	doc Internal method. Please do not use.
	doc For Type, NativeMethod, UserDefinedMethod
	doc %RET - Arr of Str
	F inspect(path:Arr, x) {
		guard x =~ AnyOf(Type, NativeMethod, UserDefinedMethod)
		["${_inspect_path_to_str(path)} - ${x.Str()}"] + inspect_meta(path + [Lit('.meta()')], x)
	}

Generally, inspect() fails to detect loops

@ilyash-b ilyash-b changed the title inspect(init) fails with StackOverflow inspect(init) loop detection Jul 11, 2024
@ilyash-b ilyash-b changed the title inspect(init) loop detection inspect() loop detection Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant