-
Notifications
You must be signed in to change notification settings - Fork 17
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
Bug: type 'int' is not a subtype of type 'double' on self_destruct_in #3
Comments
There are still a lot of bugs related to number conversion including int and double like this one. I fixed some, but to ensure its reliability please recheck and improve your code generator. I'm sick of these kinds of issues |
There are steps to reproduce? selfDestructIn(self_destruct_in) is double in td_api.tl What is value of |
selfDetructIn is int in this case. That's why the line : selfDestructIn: json['self_destruct_in'] causes a crash. |
Fixed d5ed66a |
type 'int' is not a subtype of type 'double'
E/flutter ( 6346): #0 Message.fromJson (package:tdlib/src/api/objects/message.dart:242:27)
E/flutter ( 6346): #1 ConvertExtensions.toTdObject (package:tdlib/src/api/extensions/convert_extensions.dart:1
The text was updated successfully, but these errors were encountered: