Initial Commit
This commit is contained in:
706 files changed
+135430
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import std::io;
|
||||
import tools;
|
||||
import user;
|
||||
struct scratch { var at: int; }
|
||||
def main(): void {
|
||||
val s := scratch { at = 2 };
|
||||
println($"{s.at} {count()}");
|
||||
}
|
||||
module tools;
|
||||
pub def scratch(): int { return 1; }
|
||||
module user;
|
||||
pub def count(): int { return scratch() + 4; }
|
||||
Reference in new issue
Block a user