1
0
forked from Mirror/wren

wren/compiler: Allow multiline empty parameter lists and calls. (#925)

This commit is contained in:
Michel Hermier
2021-04-08 07:58:46 +02:00
committed by GitHub
parent fd1d095588
commit 059e407ed3
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,19 @@
class Foo {
static call(
) {
System.print("Success") // expect: Success
}
construct new () {}
call(
) {
System.print("Success") // expect: Success
}
}
Foo.call(
)
Foo.new().call(
)