blob: 097921b1e16f0b889e1932c71e96b63385d5959b (
plain)
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
|
#
# Another test library - OtherClass
#
# Copyright © 2026 Samuel Lidén Borell <samuel@kodafritt.se>
#
# SPDX-License-Identifier: EUPL-1.2+ OR LGPL-2.1-or-later
#
int num!
constructor new_with_number
int num
code
this.num = num
end
func set_number!
int num
code
this.num = num
end
func get_number
return
# FIXME return values shouldn't use up variable names
int num_
code
return num
end
|