Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Support new Dbgi chunk introduced in Erlang/OTP 20 #13

Closed
erszcz opened this issue Aug 31, 2017 · 1 comment
Closed

Support new Dbgi chunk introduced in Erlang/OTP 20 #13

erszcz opened this issue Aug 31, 2017 · 1 comment

Comments

@erszcz
Copy link
Owner

erszcz commented Aug 31, 2017

This breaks CI builds on 20.0. See erlang/otp#1367.

@erszcz erszcz changed the title Support new Dbgi chunk Support new Dbgi chunk introduced in Erlang/OTP 20 Oct 17, 2017
@erszcz
Copy link
Owner Author

erszcz commented Mar 1, 2018

As of commit d037bd5 the status is as follows.

Erlang 19.2:

2> s(fun docsh_erl:h/1).

docsh_erl:h/1

-spec h(fun() | module()) -> ok.

ok
3> h(fun docsh_erl:h/1).

docsh_erl:h/1

-spec h(fun() | module()) -> ok.

When invoked with a module as an argument like h(lists),
then look up the module documentation.
When invoked with a fun as the argument like h(fun lists:keyfind/3),
then equivalent to h(M, F, A) with the the fun's deduced
{M :: module(), F :: name(), A :: arity()}.

ok
4>

Erlang 20.2:

3> s(fun docsh_erl:h/1).
Abstract code for docsh_erl is not available.

docsh: no spec for docsh_erl:h/1

ok
4> h(fun docsh_erl:h/1).

docsh_erl:h/1

When invoked with a module as an argument like h(lists),
then look up the module documentation.
When invoked with a fun as the argument like h(fun lists:keyfind/3),
then equivalent to h(M, F, A) with the the fun's deduced
{M :: module(), F :: name(), A :: arity()}.

ok
5>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant