Declarations are now written |type| identifier;, generally. Functions are similar |void| func() {}, etc. Special declarations still work, etc
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import io;
|
||||
|
||||
void nothing() {}
|
||||
|void| nothing() {}
|
||||
|
||||
int main() {
|
||||
|int| main() {
|
||||
nothing();
|
||||
println("It was nothing");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user