diff options
author | Dan Gudmundsson <[email protected]> | 2016-05-18 10:13:44 +0200 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2016-05-18 10:13:44 +0200 |
commit | a41966287e6d5d973ab15e327c5065ea1692900e (patch) | |
tree | 5f69c6af86c555f663ef62a93b99cd142bbca7aa /lib/tools/emacs/test.erl.orig | |
parent | 2772cb600349a4a015a478ba5cdfd6188b54bf8a (diff) | |
parent | c8b3e3a977bd8b4071e190c7c7aaa72f934af60a (diff) | |
download | otp-a41966287e6d5d973ab15e327c5065ea1692900e.tar.gz otp-a41966287e6d5d973ab15e327c5065ea1692900e.tar.bz2 otp-a41966287e6d5d973ab15e327c5065ea1692900e.zip |
Merge branch 'dgud/tools/emacs/PR-1054/OTP-13610'
* dgud/tools/emacs/PR-1054/OTP-13610:
Fix line-initial commas' indentation in type specs
Diffstat (limited to 'lib/tools/emacs/test.erl.orig')
-rw-r--r-- | lib/tools/emacs/test.erl.orig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/tools/emacs/test.erl.orig b/lib/tools/emacs/test.erl.orig index 621948cbe1..2552c71baf 100644 --- a/lib/tools/emacs/test.erl.orig +++ b/lib/tools/emacs/test.erl.orig @@ -70,6 +70,9 @@ foo() -> 234, d}). +-record(record5, { a = 1 :: integer() +, b = foobar :: atom() +}). -define(MACRO_1, macro). -define(MACRO_2(_), macro). @@ -144,6 +147,12 @@ nonempty_maybe_improper_list('integer', any())| -type t25() :: #rec3{f123 :: [t24() | 1|2|3|4|a|b|c|d| nonempty_maybe_improper_list(integer, any())]}. +-type t26() :: #rec4{ a :: integer() +, b :: any() +}. +-type t27() :: { integer() +, atom() +}. -type t99() :: {t2(),t4(),t5(),t6(),t7(),t8(),t10(),t14(), t15(),t20(),t21(), t22(),t25()}. @@ -179,6 +188,10 @@ t15(),t20(),t21(), t22(),t25()}. | {'error', {'no_process', term()} | {'no_such_group', term()}}. +-spec add( X :: integer() +, Y :: integer() +) -> integer(). + -opaque attributes_data() :: [{'column', column()} | {'line', info_line()} | {'text', string()}] | {line(),column()}. |