4c9d7e54cb
When checking number of arguments passed by the caller against number of parameters in the callee, inliner was not taking "type arguments" argument into account which resulted in the rejected inline if all optional parameters are passed. TEST=runtime/tests/vm/dart/inline_generic_functions_il_test.dart Change-Id: I38d1fd2a1a4aadfb0196e5a472d224e3da3a1562 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/502800 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Slava Egorov <vegorov@google.com>