Annotating a `sealed` class with `@Equatable` throws an error
Closed this issue · 1 comments
DMouayad commented
Describe the bug
When annotating a sealed
class with @Equatable
, the build fails with an error.
@Equatable()
sealed class ExampleOfSealedClass {}
To Reproduce
- Anyone should be able to reproduce the issue using above repo.
- If the first build was normal(no error thrown), Please try removing the annotation then adding it again and rebuild the app.
Expected behavior
The app should build with no errors :)
Version
3.0.0-dev.0
Additional Context
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [Version 10.0.22631.2070], locale en-US)
• Flutter version 3.24.3 on channel stable at C:\Users\Mouayad\dev\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2663184aa7 (7 weeks ago), 2024-09-11 16:27:48 -0500
• Engine revision 36335019a8
• Dart version 3.5.3
• DevTools version 2.37.3