c823888580
The list of recognized methods in the VM includes information about result type. If there is no known/concrete result cid, the list contains dynamic. When StaticCallInstr for recognized method is created, its result type was pulled from the list even if it was dynamic. This change avoids setting result type to dynamic in such case and fixes the assertion for conflicting result types from the list of recognized methods and from global type inference. Now, if list of recognized methods has dynamic, and inferred type is available, the latter will be used. Change-Id: I7da7313f93ca08a142226026a4645124c30cfd8f Reviewed-on: https://dart-review.googlesource.com/41080 Reviewed-by: Vyacheslav Egorov <vegorov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>