https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124265
--- Comment #14 from Liam Powell <liam at liampwll dot com> --- I probably won't end up updating this since we've run into more places where Dimension_System has broken behaviour: - Declaration expressions (made dimensionless) - Expression functions (dimension of expression not checked against return type) - Qualified expressions (dimension of operand not checked) - Delta aggregates (dimensions of components not checked) Fixing all of them would be a lot of work and it indicates that Dimension_System just isn't tied into type checking in a robust enough way. We ended up with a libadalang based system instead that just uses annotation pragmas.
