zeek-7 changed the way global IDs are written from GLOBAL::XYZ to ::XYZ. This syntax is not supported by e.g., zeek-format.
type r: record { };
event zeek_init()
{
local x: ::r;
}
$ zeek-format foo.zeek
cannot parse line 5, col 9: ": :"
type r: record { };
event zeek_init()
{
local x : : : r;
}