mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
They're no-ops in compilation for now, and param types aren't parsed. 'return' keyword needs to be implemented. Was distracted by bugfixes in v2 and v2-docs.
14 lines
105 B
Plaintext
14 lines
105 B
Plaintext
|
|
|
|
fn name(param1, param2) {
|
|
//return 42;
|
|
}
|
|
|
|
/*
|
|
fn name(param1: int, param2: float) {
|
|
return 42;
|
|
}
|
|
*/
|
|
|
|
|