Nov 2009 12

The following code compiles without warnings.

package main

import fmto "fmt"
import "os"

func main() {
if (true) {
os.Exit(1);
}
fmto.Printf("hello, world\n");
}

Of course the 8g compiler is still in experimental stage(a non-Beta Google product!) and they’ve made that clear on their documentation. Still, having my first looks at this exciting new language.

Added: the issue has been reported and acknowledged.

Leave a Comment