Glyphs 3 does not seem to support anonymous data blocks in feature files. Glyphs 2 supported them (by simply ignoring them, which is all I need).
As a workaround for the time being, add a prefix section and deactivate it. It will still show errors, but the font can be exported.
Yes, that should do (I’m already putting it in a separate prefix).