-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Feature Request] print arrays or dicts, that contain unprintable types and printable types #8207
Comments
What version are you using? I think that message() will work recursively with arrays in recent versions of meson. I doubt it handles dicts correctly still. |
I'm using ea2f34e , but I just realized my question is badly worded:
you can no longer print and see anything of ar. It would be nice if message(ar) would print something like
or something like
|
Many objects already implement This is something I needed a few times too, I usually add prints in meson code itself when I need to debug something, clearly not user friendly way. |
…ntly) cannot be printed. Make `file`, `compiler`, and `module` objects printable. In future commits, we should make even more types printable. Fixes mesonbuild#8207
…ly) cannot be printed. Make `file`, `compiler`, `module` and `disabler` objects printable. In future commits, we should make even more types printable. Fixes mesonbuild#8207
Hello,
it would make debugging a lot easier if the message(text) function would work recursively on arrays and dictionaries, similar like rust's
#[derive(debug)]
.The text was updated successfully, but these errors were encountered: