Files
sdk/pkg/kernel/bin
Vyacheslav Egorov 81f2664908 [kernel] In bin/type_check.dart allow arbitrary calls on values of type Function
This change silences errors that were reported for Function.call callsites because
there is no valid interface target for them:

  Function f;
  f();
  f(null);
  f(null, null, 10);
  f<bool, int>(11, true);

All of these call sites are valid, so we have to simply treat them as dynamic 
invocations.

Bug: https://github.com/dart-lang/sdk/issues/31052
Change-Id: I13b5dc3ff69e7adede3040334556ff6653b50515
Reviewed-on: https://dart-review.googlesource.com/14524
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
2017-10-17 18:46:20 +00:00
..
2017-02-03 08:58:23 -08:00