summary refs log tree commit diff stats
path: root/tests/array
diff options
context:
space:
mode:
authorLemonBoy <LemonBoy@users.noreply.github.com>2018-08-14 20:38:04 +0200
committerAndreas Rumpf <rumpf_a@web.de>2018-08-14 20:38:04 +0200
commitc04404635b9efa2d6642887ca40f6222c54d9465 (patch)
treea00d4094e0085d021360c03e90aa0abd08b47f54 /tests/array
parent9a7e6be62f6ee8818c6ef2f1504a6dd75774a616 (diff)
downloadNim-c04404635b9efa2d6642887ca40f6222c54d9465.tar.gz
Fix unsound transform pass (#8633)
When a `var openArray[T]` function parameter goes trough the
`transformAddrDeref` pass we may lose the `var` specifier, leading to
nasty crashes at runtime.
Diffstat (limited to 'tests/array')
0 files changed, 0 insertions, 0 deletions
Agaram <vc@akkartik.com> 2016-03-26 23:59:59 -0700 committer Kartik K. Agaram <vc@akkartik.com> 2016-03-27 17:43:41 -0700 2812' href='/akkartik/mu/commit/html/073array.mu.html?h=main&id=a654e4ecace2d506d1b10f1dde2c287ebe84ef37'>a654e4ec ^
e6056999 ^
a654e4ec ^

e6056999 ^
f5465e12 ^
dbe12410 ^
4690ce81 ^
a654e4ec ^

672e3e50 ^

a654e4ec ^





672e3e50 ^

a654e4ec ^
f5465e12 ^
65361948 ^
a0decd22 ^


65361948 ^

a0decd22 ^



65361948 ^

672e3e50 ^

32b8fac2 ^
f5465e12 ^


672e3e50 ^
76755b28 ^
f5465e12 ^



d009e158 ^
32b8fac2 ^
f5465e12 ^

672e3e50 ^
9570363a ^
f5465e12 ^
76755b28 ^
f5465e12 ^
32b8fac2 ^
f5465e12 ^


4690ce81 ^
65361948 ^
672e3e50 ^


a654e4ec ^
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