Mainly to get rid of one top level directory. But this will also be useful when there are tests of the embedding API.
9 lines
171 B
Plaintext
9 lines
171 B
Plaintext
var ClosureType
|
|
|
|
{
|
|
var a = "a"
|
|
ClosureType = new Fn { IO.print(a) }.type
|
|
}
|
|
|
|
class Subclass is ClosureType {} // expect runtime error: Subclass cannot inherit from Fn.
|