From 9f8b93641efda5e20a76732e5d11165ac323f1e0 Mon Sep 17 00:00:00 2001 From: Miran Date: Sun, 14 Oct 2018 08:50:39 +0200 Subject: Merge tests into a larger file (part 3 of ∞: generics) (#9347) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * merge generics issues tests * merge tgeneric * merge test with local imports * merge tcan tests * merge matcher tests * more issue tests merged * one more tcan test * merge various small tests into one file * add a test for #3717 --- tests/generics/tstatictalias.nim | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tests/generics/tstatictalias.nim (limited to 'tests/generics/tstatictalias.nim') diff --git a/tests/generics/tstatictalias.nim b/tests/generics/tstatictalias.nim deleted file mode 100644 index 98751b8cb..000000000 --- a/tests/generics/tstatictalias.nim +++ /dev/null @@ -1,20 +0,0 @@ -discard """ - output: '''G:0,1:0.1 -G:0,1:0.1 -H:1:0.1''' -""" - -type - G[i,j:static[int]] = object - v:float - H[j:static[int]] = G[0,j] -proc p[i,j:static[int]](x:G[i,j]) = echo "G:",i,",",j,":",x.v -proc q[j:static[int]](x:H[j]) = echo "H:",j,":",x.v - -var - g0 = G[0,1](v: 0.1) - h0:H[1] = g0 -p(g0) -p(h0) -q(h0) -# bug #4863 -- cgit 1.4.1-2-gfad0 > refs log tree commit diff stats
path: root/examples/cross_calculator/lazarus/unit1.pas
blob: aa0ef6cf720c00453ff6fcefc7ba945cace10109 (plain) (blame)
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