summary refs log tree commit diff stats
path: root/tests/caas/completion_dot_syntax_main.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-27 23:47:21 +0100
committerAraq <rumpf_a@web.de>2018-12-11 21:23:18 +0100
commit75e4a0098ab1bafff44169bc19ae2b13229b8c8e (patch)
tree1089e9db13ad90704d3e7d2d1a3a5dd69ff3efe9 /tests/caas/completion_dot_syntax_main.nim
parentef44c12a3460579bd4ca17111ce942e752c5fda6 (diff)
downloadNim-75e4a0098ab1bafff44169bc19ae2b13229b8c8e.tar.gz
remove caas
Diffstat (limited to 'tests/caas/completion_dot_syntax_main.nim')
-rw-r--r--tests/caas/completion_dot_syntax_main.nim24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/caas/completion_dot_syntax_main.nim b/tests/caas/completion_dot_syntax_main.nim
deleted file mode 100644
index 0be8c7f4f..000000000
--- a/tests/caas/completion_dot_syntax_main.nim
+++ /dev/null
@@ -1,24 +0,0 @@
-import strutils
-
-# Verifies if the --suggestion switch differentiates types for dot notation.
-
-type
-  TDollar = distinct int
-  TEuro = distinct int
-
-proc echoRemainingDollars(amount: TDollar) =
-  echo "You have $1 dollars" % [$int(amount)]
-
-proc echoRemainingEuros(amount: TEuro) =
-  echo "You have $1 euros" % [$int(amount)]
-
-proc echoRemainingBugs() =
-  echo "You still have bugs"
-
-proc main =
-  var
-    d: TDollar
-    e: TEuro
-  d = TDollar(23)
-  e = TEuro(32)
-  d.echoRemainingDollars()