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
erlang:monotonic_time(native) invalid #6165
Labels
Comments
Thanks for the bug report! I've made a fix in the #6213 PR (not very well tested yet). The fix will be part of the next patch unless something unexpected happens. |
rickard-green
added a commit
that referenced
this issue
Aug 15, 2022
* rickard/native_time_unit_fix/GH-6165/OTP-18197: [erts] Accept native time unit where documented as supported
lthor
pushed a commit
that referenced
this issue
Aug 18, 2022
…int-24 * rickard/native_time_unit_fix/GH-6165/OTP-18197: [erts] Accept native time unit where documented as supported
rickard-green
pushed a commit
that referenced
this issue
Aug 18, 2022
…int-25 * rickard/native_time_unit_fix/GH-6165/OTP-18197: [erts] Accept native time unit where documented as supported
Fixed in patches OTP 25.0.4 and OTP 24.3.4.3 which we released today. |
kikofernandez
pushed a commit
that referenced
this issue
Sep 5, 2022
…int-23 * rickard/native_time_unit_fix/GH-6165/OTP-18197: [erts] Accept native time unit where documented as supported
u3s
pushed a commit
that referenced
this issue
Mar 18, 2024
…int-22 * rickard/native_time_unit_fix/GH-6165/OTP-18197: [erts] Accept native time unit where documented as supported
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Documentation of erlang:monotonic_time/1 says that argument must be of type erlang:time_unit() which includes
native
, butnative
is not allowed.To Reproduce
Expected behavior
Either documentation or function is wrong. I would expect
native
argument to returnerlang:monotonic_time/0
value ?Affected versions
24.3 and 25 at least.
The text was updated successfully, but these errors were encountered: