summary refs log tree commit diff stats
path: root/tests/overload/tsymtabchange_during_or.nim
diff options
context:
space:
mode:
authorMiran <narimiran@users.noreply.github.com>2018-10-16 10:50:10 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-10-16 10:50:10 +0200
commit749dbce4c69224f5464908d8f714291f17aa60fa (patch)
treecc91326ef536f15d8d9aa97efab4fc8473d093c7 /tests/overload/tsymtabchange_during_or.nim
parentf04c93b5dd1ee5e185f6849ad8116d08a687026d (diff)
downloadNim-749dbce4c69224f5464908d8f714291f17aa60fa.tar.gz
Merge tests into a larger file (part 5 of ∞) (#9368)
* merge magics

* merge metatype tests

* merge method tests

* merge objects tests

* change `import future` to `import sugar`

Nim in Action tests are left with `import future`, to ensure compatibility.

* merge overload tests

* merge proc tests

* merge procvar tests

* merge range tests

* merge seq tests

* merge sets tests

* remove wrong assert from `tsets3`

* fix `jsTests`

* better fix
Diffstat (limited to 'tests/overload/tsymtabchange_during_or.nim')
-rw-r--r--tests/overload/tsymtabchange_during_or.nim24
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/overload/tsymtabchange_during_or.nim b/tests/overload/tsymtabchange_during_or.nim
deleted file mode 100644
index b5551bcc7..000000000
--- a/tests/overload/tsymtabchange_during_or.nim
+++ /dev/null
@@ -1,24 +0,0 @@
-
-# bug #2229
-
-type Type1 = object
-        id: int
-
-type Type2 = object
-    id: int
-
-proc init(self: var Type1, a: int, b: ref Type2) =
-    echo "1"
-
-proc init(self: var Type2, a: int) =
-    echo """
-        Works when this proc commented out
-        Otherwise error:
-        test.nim(14, 4) Error: ambiguous call; both test.init(self: var Type1, a: int, b: ref Type2) and test.init(self: var Type1, a: int, b: ref Type2) match for: (Type1, int literal(1), ref Type2)
-    """
-
-var a: Type1
-init(a, 1, (
-    var b = new(Type2);
-    b
-))
zahary@gmail.comy> 2011-09-07 22:05:21 +0300 committer Zahary Karadjov <zahary@gmail.comy> 2011-09-20 14:13:45 +0300 Moved the parseAST magics to evals.nim' href='/ahoang/Nim/commit/tests/accept/run/tstringinterp.nim?h=devel&id=dbcca9b3b994e3339c9a03c3846b7162147679fd'>dbcca9b3b ^
a72fe16f9 ^
dbcca9b3b ^


7c3435785 ^


dbcca9b3b ^
a5098f1fd ^
dbcca9b3b ^





b56df72a3 ^
14968fba4 ^
dbcca9b3b ^

a72fe16f9 ^


dbcca9b3b ^
a5098f1fd ^
dbcca9b3b ^















14968fba4 ^
7c3435785 ^
dbcca9b3b ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74