Here is an example of pointer_type parsing error.
The code '* (* [] byte)' being parsed as pointer.type is incorrect,it should be an unary_expression.
import "fmt"
func main() {
var sUnsafe string = "hello"
*(*[]byte)(unsafe.Pointer(&sUnsafe))
//*((*[]byte)(unsafe.Pointer(&sUnsafe)))
}
Here is an example of pointer_type parsing error.
The code '* (* [] byte)' being parsed as pointer.type is incorrect,it should be an unary_expression.