Albert Mañosa
Albert Mañosa
## Affected code https://github.com/albertms10/music_notes/blob/92cee2d633d6f745a2ae292edc84239f05577806/lib/src/note/enharmonic_note.dart#L83-L88 ## Failing tests > [!NOTE] > Addressed in #88. https://github.com/albertms10/music_notes/blob/92cee2d633d6f745a2ae292edc84239f05577806/test/src/tonality/key_signature_test.dart#L119-L124
https://github.com/albertms10/music_notes/blob/4c1e5ec290c925b0a17b20563dd727dbe28b80b7/test/src/note/pitch_test.dart#L519-L523
https://github.com/albertms10/music_notes/blob/7ce5beed1c9d4c00628dae9bf6063691a2a4e182/lib/src/note/pitch_class.dart#L158-L160 https://github.com/albertms10/music_notes/blob/7ce5beed1c9d4c00628dae9bf6063691a2a4e182/lib/src/note/pitch_class.dart#L171-L173
Given the following code, after Dart 3.4, the [`prefer_const_constructors`](https://dart.dev/lints/prefer_const_constructors) lint is shown when invoking the `Interval` constructor in such conditions: ```dart import 'package:meta/meta.dart' show redeclare; extension type const Size(int size)...