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 parent
36833ec263
commit
6e8b9a88b6
1 file changed
+1
-1
@@ -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