Files
wren/test/language/def/no_newline_before_close.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

2 lines
48 B
Plaintext

def f() {
System.print("ok") } // expect error