Descriptionspec: unsafe.Alignof/Sizeof also accept non-variable arguments
Both gc and gccgo permit calls such as unsafe.Sizeof(42). The
spec only permits variable arguments. This is a (backward-compatible)
spec change reflecting the status quo. Seems preferrable over
restricting the compilers.
Patch Set 1 #
Total comments: 3
Patch Set 2 : diff -r 8df0b8f89db3 https://code.google.com/p/go #
Total comments: 1
Patch Set 3 : diff -r 23b89fb47d66 https://code.google.com/p/go #Patch Set 4 : diff -r f48f1de09de5 https://code.google.com/p/go #MessagesTotal messages: 7
|