summaryrefslogtreecommitdiff
path: root/test/rebar_edoc_SUITE_data/bad/apps/foo/src/foo.erl
blob: 52e3d0a65bc5fc6394b840dfce47a645afb403e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-module(foo).

-export([foo/0, bar1/0, bar2/0]).

-export_type([fooer/0]).

-type fooer() :: string().

% @doc Foo function returns fooer.
-spec foo() -> fooer().
foo() -> "fooer".

% @doc Bar1 function returns barer1.
-spec bar1() -> bar1:barer1().
bar1() -> bar1:bar1().

% @doc Bar2 functions returns barer2.
-spec bar2() -> bar2:barer2().
bar2() -> bar2:bar2().