Bad math returned void instead of int, causing complaining on a Mac compiler (I think because it's clang)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import io;
|
||||
fun main(): void {
|
||||
fun main(): int {
|
||||
io::println("Spam");
|
||||
var x: int = 4;
|
||||
x += 3;
|
||||
|
||||
Reference in New Issue
Block a user