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
{{ message }}
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.
appear as errors in the Dart editor are underlined in red. However, it seems to work fine when ran. These apparent errors are an annoyance for the programmer.
Would there be at least a workaround not to see these errors and have serialization.dart be compatible with the Dart editor?
Alternatively, is there a bug report in Dart editor to make this happen?
Thanks.
The text was updated successfully, but these errors were encountered:
The issue is that you need to import a file that has not yet been created. The file gets created at built-time by the transformer though. In my Pull Request I propose to add an import re-writer.
By the way, do you think it would ever be possible for Dart editor to know about files that will be generated? (maybe actually create these files in a directory that is out of sight?) Does it make sense to tell Dart editor developers anything about this in case some other package wants to use such transformers?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am not a dart expert and I may be wrong, but it seems like the lines such as
appear as errors in the Dart editor are underlined in red. However, it seems to work fine when ran. These apparent errors are an annoyance for the programmer.
Would there be at least a workaround not to see these errors and have serialization.dart be compatible with the Dart editor?
Alternatively, is there a bug report in Dart editor to make this happen?
Thanks.
The text was updated successfully, but these errors were encountered: