From 824ba9639ef6973c4c26b86616b2625b37ef2595 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Wed, 24 Feb 2010 16:43:38 +0100 Subject: Fix electric semi-colon and tuples inside lists --- lib/tools/emacs/test.erl.indented | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/tools/emacs/test.erl.indented') diff --git a/lib/tools/emacs/test.erl.indented b/lib/tools/emacs/test.erl.indented index 1ccced9177..45b876f718 100644 --- a/lib/tools/emacs/test.erl.indented +++ b/lib/tools/emacs/test.erl.indented @@ -349,6 +349,14 @@ indent_basics(X, Y, Z) % AD added clause foo. + +indent_nested() -> + [ + {foo, 2, "string"}, + {bar, 3, "another string"} + ]. + + indent_icr(Z) -> % icr = if case receive %% If if Z >= 0 -> -- cgit v1.2.3 From 228e1f013f99e2d2fb4ee0f7a9cb5d21638756a8 Mon Sep 17 00:00:00 2001 From: Dan Gudmundsson Date: Mon, 15 Mar 2010 10:46:58 +0100 Subject: Fix another -spec() problem --- lib/tools/emacs/test.erl.indented | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/tools/emacs/test.erl.indented') diff --git a/lib/tools/emacs/test.erl.indented b/lib/tools/emacs/test.erl.indented index 45b876f718..faf1cc68ef 100644 --- a/lib/tools/emacs/test.erl.indented +++ b/lib/tools/emacs/test.erl.indented @@ -146,6 +146,8 @@ | {'del_member', name(), pid()}, #state{}) -> {'noreply', #state{}}. +-spec all(fun((T) -> boolean()), List :: [T]) -> + boolean() when is_subtype(T, term()). % (*) -spec get_closest_pid(term()) -> Return :: pid() -- cgit v1.2.3