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
If I attempt to change the first lamda function: (l) => left(l) to simply: left the code breaks. There are no errors, but the code doesn't work. Attempted code refactor:
Best guess is the type inference, or lack thereof, is causing issues. Try adding this to your 'analysis_options.yaml` file if it's not already in there:
I have been going through a refactoring stage of a code base and looking through a list of snippets like:
If I attempt to change the first lamda function:
(l) => left(l)
to simply:left
the code breaks. There are no errors, but the code doesn't work. Attempted code refactor:Is someone able to explain this or tell me what I am missing here. Thank you.
The text was updated successfully, but these errors were encountered: