-
Notifications
You must be signed in to change notification settings - Fork 141
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
console_dbg
outputs wrong expression
#172
Comments
Welp... Looks like wrong expression is being Also, do you know of a way to unit test this? I don't know how we'd read console output in tests run with wasm-bindgen
I'm sure Risu is proud |
No clue, will ask some people... |
some more experienced web dev ( @eddieantonio ) says this:
|
Interesting. I have no idea how that would happen in a wasm-bindgen test environment though |
working on it |
Describe the Bug
console_dbg!(anything)
will output::std::format!("{:?}", v)
to the consoleSteps to Reproduce
producing code with Yew:
Expected Behavior
Should output
[src\main.rs:6] a = 1
and[src\main.rs:7] a + 1 = 2
to the console.Actual Behavior
nuts:
The text was updated successfully, but these errors were encountered: