Files
wren/test/language/def/newline_body.wren
Bob Nystrom 10f149f359 Add "def" syntax sugar for named function definitions.
This is technically redundant but it makes functional/procedural code
look a *lot* more natural.
2015-12-01 08:05:46 -08:00

5 lines
55 B
Plaintext

def f() {
// Hi.
}
System.print(f()) // expect: null