Skip to content

Any

Given a file named “pen.json” with:

{
"type": "library",
"dependencies": {}
}

Given a file named “Foo.pen” with:

f = \() any {
42
}

When I run pen build

Then the exit status should be 0.

Given a file named “Foo.pen” with:

f = \(x any) number {
if x = x as number {
x
} else {
0
}
}

When I run pen build

Then the exit status should be 0.