summaryrefslogtreecommitdiff
path: root/test/files/run/names-defaults.check
blob: 722d28dd11adfd660a7b692ad7520d020cc4e4cf (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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
names-defaults.scala:269: warning: a pure expression does nothing in statement position
    spawn(b = { val ttt = 1; ttt }, a = 0)
                             ^
names-defaults.scala:269: warning: multiline expressions might require enclosing parentheses; a value can be silently discarded when Unit is expected
    spawn(b = { val ttt = 1; ttt }, a = 0)
                             ^
warning: there were four deprecation warnings; re-run with -deprecation for details
1: @
get: $
get: 2
2: $
get: 3
get: **
3: **
get: 110
get: 11
get: \
get: 2.399
11: \, 110, 2.399
get: 14
get: 3920
get: }
get: [
14: [, 3920, }
get: 4
get: @
4: @
get: 10
get: flu
10: flu
get: 8
get: 9
get: %
get: 5
5: %, 17
12: ', 13, 16
1: bird, swine, 10
20
30
40
6: ~
14: /
100: 100: nix, nix, 982, 982, 0
100: overridden, bla, 0, 0, 555
100: overridden, , 93.3, 93.3, -1
first
first
second
first
second
second
second
first
second
f
second
second
first
third
fourth
fifth
sixth
first
2, List(4, 4, 4)
2, List()
5
get: 11
11
get: 1
get: 2
get: 2
3
0
get: 20
get: 20
20
0
1
dlkfj0dlkfj102
lskf2dkflj2
dlkd5nixda10nixdadklfj1dklfj
C(dlkf,234,struct)struct???
C(dflkj,234,Some(209))None!!
dflk10
1-1jupee
12.39
2
Factory(1,blabla)
Factory(-1,blabla)
Fact2(ju,1)
Fact2(1,1)
Fact2(10,blabla)
test5
2
test5
3
test5
4
test5
5
10: 2
slkdfj2
1
lskfdjlk
11
2
20
10
jaa
kldfj110101
klfj1
blublu1
my text
List(1, 2)
3
1
2
3
3
3
3
3
3
3
3
3
3
3
(1,0), (1,2)
1 1 0