Skip to content

Use correct return value from report_cb/2 #9798

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

Conversation

hauleth
Copy link
Contributor

@hauleth hauleth commented Feb 8, 2020

Earlier it assumed that the return type is the same as in report_cb/1 which is not true. report_cb/1 returns format string and data while report_cb/2 returns already formatted string.

Earlier it assumed that the return type is the same as in `report_cb/1`
which is not true. `report_cb/1` returns format string and data while
`report_cb/2` returns already formatted string.
@hauleth hauleth force-pushed the fix/invalid-return-type-from-report_cb-2 branch from 76807eb to 4c0d43a Compare February 8, 2020 23:31
@josevalim josevalim merged commit 6311832 into elixir-lang:master Feb 9, 2020
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@josevalim josevalim deleted the fix/invalid-return-type-from-report_cb-2 branch February 9, 2020 08:34
josevalim pushed a commit that referenced this pull request Feb 9, 2020
Earlier it assumed that the return type is the same as in `report_cb/1`
which is not true. `report_cb/1` returns format string and data while
`report_cb/2` returns already formatted string.
@hauleth hauleth restored the fix/invalid-return-type-from-report_cb-2 branch February 9, 2020 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants