You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has also been filed in the dart SDK repository as it maybe an analyser issue. It is also filed here for good measure are it is disrupting develop workflow in a significant manner.
There was a previous defect with identical behaviour, which appeared to resolve itself.
The core of the issue is as follows:
The IDE (intelliJ) does not recognise (red squeakily line) newly created BuiltValue abstract classes or existing BuiltValue abstract classes that have been edited, until "Invalidate Cache / Restart..." from the File menu of intellij has restarted the IDE and reindexed the whole project (this is very time consuming).
@rayk, thanks for opening these issues. It is likely related to an interaction between the analyzer and built_value / code gen, so not an IDE specific issue (even if the problem surfaces in IDEs). I'm going to close this issue in favor of dart-lang/sdk#42191; people following allow can monitor the dart-lang/sdk issue for updates.
This issue has also been filed in the dart SDK repository as it maybe an analyser issue. It is also filed here for good measure are it is disrupting develop workflow in a significant manner.
There was a previous defect with identical behaviour, which appeared to resolve itself.
The core of the issue is as follows:
The IDE (intelliJ) does not recognise (red squeakily line) newly created BuiltValue abstract classes or existing BuiltValue abstract classes that have been edited, until "Invalidate Cache / Restart..." from the File menu of intellij has restarted the IDE and reindexed the whole project (this is very time consuming).
Reproduction Steps:
flutter pub run build_runner build
orflutter pub run build_runner build --delete-conflicting-outputs
then:
PersistEventBuilder
has been created in the *.g.dart file.Observe red squeakily lines in IDE.
Select invalidate Cache / Restart... for the file menu.
Wait Wait Wait.
Observe the IDE now recognises the
PersistEvent
Environment:
and
References:
@davidmorgan (BuiltValue)
initial issue - over a year old
cross file issue
@aaronlademann-wf (Also impacted by pervious issue)
The text was updated successfully, but these errors were encountered: