Skip to content

Commit d831f47

Browse files
authored
Merge pull request scala#132 from barryoneill/patch-1
Add parenthesis to side-effecting method
2 parents ed32618 + 08d4997 commit d831f47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/g8/src/main/scala/Main.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@main def hello: Unit =
1+
@main def hello(): Unit =
22
println("Hello world!")
33
println(msg)
44

0 commit comments

Comments
 (0)