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
In mockito, we might try to revive a constant, ProcessStartMode.normal (docs), but source_gen always gives back ProcessStartMode._internal() (the constructor used by normal).
I can reproduce this in constants_test, where the LibraryElement for dart.io has zero types, classes, etc. and so never tries ProcessMode.normal as a Revive. Very strange... :(
In mockito, we might try to revive a constant,
ProcessStartMode.normal
(docs), but source_gen always gives backProcessStartMode._internal()
(the constructor used bynormal
).I can reproduce this in constants_test, where the LibraryElement for dart.io has zero types, classes, etc. and so never tries
ProcessMode.normal
as a Revive. Very strange... :(Similar to #547, but not the same bug, I believe.
The text was updated successfully, but these errors were encountered: