sunflower/test.foo

19 lines
282 B
Plaintext
Raw Normal View History

2022-07-03 16:01:45 +02:00
foo();
def foo() {
print("hello, world!");
}
2022-07-03 15:17:37 +02:00
let x = 10;
let y = x-5;
2022-07-03 16:01:45 +02:00
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));