goplayspace
goplayspace copied to clipboard
playground accepts binary literal, goplayspace does not
Expected: I can declare var v int = 0b11010
Actual: 8:15: expected ';', found 'IDENT' b11010 (and 1 more errors)
Repros:
https://play.golang.org/p/Sw9HFvlcmMr
https://goplay.space/#Sw9HFvlcmMr
Another example: https://goplay.space/#8oYULUW3yL2
func main() {
b := byte(0b00010011)
}
8:13: missing ',' in argument list