summaryrefslogtreecommitdiff
path: root/test/rebar_edoc_SUITE_data/bad/apps/bar1/src/bar1.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2017-01-27 22:32:14 -0500
committerGitHub <noreply@github.com>2017-01-27 22:32:14 -0500
commit9f4017f6d3c1fef1b05b45476e66a18a3ea31913 (patch)
tree92dea83e69ed2b9717981c2838adf82c501cbce1 /test/rebar_edoc_SUITE_data/bad/apps/bar1/src/bar1.erl
parentabff9dfff34e04bd23b1f178eadee4d8770de9a9 (diff)
parentba954cfb43f0b05e15ee206b13488d62c3537267 (diff)
Merge pull request #1458 from ferd/survive-edoc-crashes
Survive EDoc crashes
Diffstat (limited to 'test/rebar_edoc_SUITE_data/bad/apps/bar1/src/bar1.erl')
-rw-r--r--test/rebar_edoc_SUITE_data/bad/apps/bar1/src/bar1.erl9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/rebar_edoc_SUITE_data/bad/apps/bar1/src/bar1.erl b/test/rebar_edoc_SUITE_data/bad/apps/bar1/src/bar1.erl
new file mode 100644
index 0000000..2700aef
--- /dev/null
+++ b/test/rebar_edoc_SUITE_data/bad/apps/bar1/src/bar1.erl
@@ -0,0 +1,9 @@
+-module(bar1).
+-export([bar1/0]).
+-export_type([barer1/0]).
+
+-type barer1() :: string().
+
+% @doc Bar1 bars the bar.
+-spec bar1() -> barer1().
+bar1() -> "Barer1". \ No newline at end of file