Hello Francois,
I checked the internal report and there was a comment that explains why this is marked by design. I edited the report to add that as a public comment on the public issue tracker, after a bit of editing, but this is the comment:
"The user’s plugin is currently a Developer plugin, which means it can also run at runtime.
If they make the plugin an Editor plugin, they will be able to compile."
I hope this helps!