summary refs log tree commit diff stats
path: root/tests/rodfiles/bmethods2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rodfiles/bmethods2.nim')
-rw-r--r--tests/rodfiles/bmethods2.nim29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/rodfiles/bmethods2.nim b/tests/rodfiles/bmethods2.nim
deleted file mode 100644
index c9d25eee4..000000000
--- a/tests/rodfiles/bmethods2.nim
+++ /dev/null
@@ -1,29 +0,0 @@
-discard """
-  output: '''derived class 2
-base class
-'''
-"""
-
-import amethods
-
-
-type
-  TDerivedClass* = object of TBaseClass
-
-proc newDerivedClass: ref TDerivedClass =
-  new result
-
-method echoType*(x: ref TDerivedClass) =
-  echo "derived class 2"
-
-var b, d: ref TBaseClass
-
-b = newBaseClass()
-d = newDerivedClass()
-
-#b.echoType()
-#d.echoType()
-
-echoAlias d
-echoAlias b
-
the previous revision' href='/akkartik/mu/blame/html/subx/ex5.subx.html?h=hlt&id=6cabcefe67d2cd0583b556129fe3d8c89cf0fcb8'>^
ac07e589 ^

08a0eed6 ^
14a38052 ^
ac07e589 ^
60338448 ^
695f9bf8 ^
60338448 ^
e99038ea ^
ac07e589 ^
bb2b6ba7 ^















695f9bf8 ^
bb2b6ba7 ^















c9bda4d1 ^
bb2b6ba7 ^
14a38052 ^
c56d803c ^
60338448 ^
ee0e67b9 ^

bb2b6ba7 ^
a0d3cac4 ^
14a38052 ^


bb2b6ba7 ^
e99038ea ^


33352536 ^
e99038ea ^
a0d3cac4 ^
e99038ea ^
33352536 ^
e99038ea ^
33352536 ^
e99038ea ^
33352536 ^
e99038ea ^
a0d3cac4 ^
















bb2b6ba7 ^



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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102