summaryrefslogtreecommitdiff
path: root/t/t4018/elixir-protocol
diff options
context:
space:
mode:
authorLibravatar Łukasz Niemier <lukasz@niemier.pl>2019-11-08 22:38:24 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-11-10 15:26:26 +0900
commita807200f67588f6e30a7b6ac4a3ad97ad176ccc7 (patch)
treefc8563a426a920ff97c55287e2fd138fcccb6249 /t/t4018/elixir-protocol
parentGit 2.24 (diff)
downloadtgif-a807200f67588f6e30a7b6ac4a3ad97ad176ccc7.tar.xz
userdiff: add Elixir to supported userdiff languages
Adds support for xfuncref in Elixir[1] language which is Ruby-like language that runs on Erlang[3] Virtual Machine (BEAM). [1]: https://elixir-lang.org [2]: https://www.erlang.org Signed-off-by: Łukasz Niemier <lukasz@niemier.pl> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/elixir-protocol')
-rw-r--r--t/t4018/elixir-protocol6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t4018/elixir-protocol b/t/t4018/elixir-protocol
new file mode 100644
index 0000000000..7d9173691e
--- /dev/null
+++ b/t/t4018/elixir-protocol
@@ -0,0 +1,6 @@
+defprotocol RIGHT do
+ @doc """
+ Calculates the size (and not the length!) of a data structure
+ """
+ def size(data, ChangeMe)
+end