From a5891c64cbb7d3baed93aee72486443212fed401 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Wed, 26 Apr 2017 12:34:15 +0200 Subject: dialyzer: Fix a bug regarding unknown types Since commit 12b3790 Dialyzer has not reported unknown types. --- lib/dialyzer/test/options2_SUITE_data/src/unknown_type.erl | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lib/dialyzer/test/options2_SUITE_data/src/unknown_type.erl (limited to 'lib/dialyzer/test/options2_SUITE_data/src/unknown_type.erl') diff --git a/lib/dialyzer/test/options2_SUITE_data/src/unknown_type.erl b/lib/dialyzer/test/options2_SUITE_data/src/unknown_type.erl new file mode 100644 index 0000000000..7a891c0831 --- /dev/null +++ b/lib/dialyzer/test/options2_SUITE_data/src/unknown_type.erl @@ -0,0 +1,7 @@ +-module(unknown_type). + +-export([t/0]). + +-spec t() -> unknown:type(). +t() -> + a. -- cgit v1.2.3