The source project of this merge request has been removed.
Warn when modifying shared instances of Array and Dict to prepare for implicit sharing.
This is triggered by the existing unit tests as expected, e.g.
5: QDEBUG : TestAnnotations::checkFontSizeAndColor() "Error: Attempting modification of shared instance of Dict which will break with implicit sharing."
5: QDEBUG : TestAnnotations::checkFontSizeAndColor() "Error: Attempting modification of shared instance of Array which will break with implicit sharing."
5: QDEBUG : TestAnnotations::checkFontSizeAndColor() "Error: Attempting modification of shared instance of Dict which will break with implicit sharing."
5: QDEBUG : TestAnnotations::checkFontSizeAndColor() "Error: Attempting modification of shared instance of Dict which will break with implicit sharing."
and I'll try to prepare fixes in separate follow-up MR.