1
0
forked from Mirror/wren
Files
wren/test/class/type.wren
2013-12-21 20:44:37 -08:00

11 lines
242 B
Plaintext

class Foo {}
// A class is a class.
IO.write(Foo is Class) // expect: true
// It's metatype is also a class.
IO.write(Foo.type is Class) // expect: true
// The metatype's metatype is Class.
IO.write(Foo.type.type == Class) // expect: true