-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chopper_generator 7.0.7 is broken #546
Labels
bug
Something isn't working
Comments
I can't reproduce it do you have some example code of the service its trying to create? |
Please, have a look -- https://github.com/Dimous/issue-546/blob/main/lib/rate_service.dart
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I updated chopper_generator from 7.0.6 to 7.0.7 and it stopped working.
dart run build_runner build output
[SEVERE] chopper_generator on lib/data/client/service/rate_service.dart:Could not format because the source could not be parsed:
line 11, column 70 of .: Expected to find ','.
╷
11 │ return client.send<void, void>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^
╵
line 11, column 73 of .: Expected to find ','.
╷
11 │ return client.send<void, void>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^^^^^^^^^^^^^^^^^
╵
[SEVERE] chopper_generator on lib/data/client/service/review_service.dart:
Could not format because the source could not be parsed:
line 11, column 70 of .: Expected to find ','.
╷
11 │ return client.send<void, void>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^
╵
line 11, column 73 of .: Expected to find ','.
╷
11 │ return client.send<void, void>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^^^^^^^^^^^^^^^^^
╵
line 15, column 70 of .: Expected to find ','.
╷
15 │ return client.send<void, void>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^
╵
line 15, column 73 of .: Expected to find ','.
╷
15 │ return client.send<void, void>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^^^^^^^^^^^^^^^^^
╵
[SEVERE] chopper_generator on lib/data/client/service/user_service.dart:
Could not format because the source could not be parsed:
line 14, column 102 of .: Expected to find ','.
╷
14 │ return client.send<Map<String, dynamic>, Map<String, dynamic>>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^
╵
line 14, column 105 of .: Expected to find ','.
╷
14 │ return client.send<Map<String, dynamic>, Map<String, dynamic>>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^^^^^^^^^^^^^^^^^
line 18, column 74 of .: Expected to find ','.
╷
18 │ return client.send<String, String>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^
╵
line 18, column 77 of .: Expected to find ','.
╷
18 │ return client.send<String, String>($request, requestConverter: Instance of 'BinaryExpression', ); }
│ ^^^^^^^^^^^^^^^^^^
╵
When I rollback (¡only dependency!) chopper_generator to 7.0.6 it is working again.
The text was updated successfully, but these errors were encountered: