sunflower/test.foo

20 lines
301 B
Plaintext

foo();
def foo() {
print("hello, world!");
}
let x = 10;
let y = x-5;
print(y);
print( edit_foo(native_test()) );
// Parameter 0 was not of type sunflower::Foo, it was string
// fancy error isn't it?
// edit_foo("hello");
// this doesnt work yet :((((
// print(10.eq(20));
print(eq(10, 10));