If you can reduce this to a small test project on the latest extension version, email me a copy.
function name() {} has been historically quirkier than name = function() {}, but it’s not illegal as of latest GMLive
function name() {}
name = function() {}