Stacking the same verse attributes such as `@editable` multiple times is not flagged by the compiler

Summary

While cleaning up some editable fields I forgot to remove an addition @editable attribute. To my surprise the compiler didn’t flag this during compilation, but it probably should.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

something := class {
  @editable # this is not being flagged
  @editable
  Value: int
}

Expected Result

The compiler should be more strict and pemit only a single usages of the same attribute.

Observed Result

The attribute can be stacked multiple times without raising any compile diagnostics.

Platform(s)

UEFN (v36.20)

Additional Notes

While this might not be harmful, it shouldn’t be encouraged or allowed in my opinion. The compiler should at least raise a warning of duplicate attributes.

FORT-937496 has been created and its status is ‘Unconfirmed’. This is now in a queue to be reproduced and confirmed.