☰
Debian Codegraph
@
1.5.5.8-1
/
/
src
/
test
/
01-Basic
/
27.ck
☽
☼
src/test/01-Basic/27.ck
code
plain
raw
GPL-2.0+
2004 Ge Wang and Perry R. Cook. All rights reserved.
debian/copyright
1
// 27.ck : 26, float
2
3
class X
4
{
5
float f;
6
}
7
8
class Y
9
{
10
X x;
11
fun X foo() { return x; };
12
}
13
14
Y y;
15
12.2 => y.x.f;
16
17
if( y.foo().f == 12.2 ) <<<"success">>>;