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

%llv is ignored for weak pointers. #430

Open
skejeton opened this issue Aug 5, 2024 · 2 comments
Open

%llv is ignored for weak pointers. #430

skejeton opened this issue Aug 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@skejeton
Copy link
Contributor

skejeton commented Aug 5, 2024

No description provided.

@vtereshkov vtereshkov added bug Something isn't working enhancement New feature or request labels Aug 5, 2024
@vtereshkov
Copy link
Owner

Since weak pointers are used almost exclusively for cyclic references, the output wouldn't be very informative:

000000000e6e89a8 -> (
    {
        parent: 0000000000000000
        children: [
            {
                parent: 000000000e6e89a8 -> (
                    {
                        parent: 0000000000000000
                        children: [
                            {
                                parent: 000000000e6e89a8 -> (
                                    {
                                        parent: 0000000000000000
                                        children: [
                                            {
                                                parent: 000000000e6e89a8 -> (
                                                    {
                                                        parent: 0000000000000000
                                                        children: [
                                                            {
                                                                parent: 000000000e6e89a8 -> (
                                                                    {
                                                                        parent: 0000000000000000
                                                                        children: [
                                                                            {
                                                                                parent: ...
                                                                                children: ...
                                                                                id: ...
                                                                                layout: ...
                                                                                pos: ...
                                                                                size: ...
                                                                                cell: ...
                                                                                padding: ...
                                                                                crop: ...
                                                                                img: ...
                                                                                text: ...
                                                                                boxStyle: ...
                                                                            }
                                                                        ]

To be meaningful, %llv would need some kind of cycle detection.

@vtereshkov vtereshkov removed the bug Something isn't working label Aug 5, 2024
@skejeton
Copy link
Contributor Author

skejeton commented Aug 6, 2024

Hmm that's right, a decent compromise is to not expand them in struct fields or array items.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants