blob: 07c9f0a2706491a3ef6344bf0a8531c06354efd1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
-module(zoltan_kis3).
-export([f/0, gen/0]).
%-opaque id() :: string().
-spec f() -> char().
%% List pattern matching issue
f() -> [H|_T] = gen(), H.
-spec gen() -> zoltan_adt:id().
gen() -> "Dummy".
|