5dbb6e245b
This adds * InstanceInvocation, DynamicInvocation, FunctionInvocation, and LocalFunctionInvocation, EqualsCall, and EqualsNull as a future replacement for MethodInvocation. * InstanceGet, DynamicGet, InstanceTearOff, and FunctionTearOff as a future replacement for PropertyGet * InstanceSet and DynamicSet as a future replacement of PropertySet * StaticTearOff as an addition to StaticGet TEST=pkg/front_end/test/binary_md_vm_tags_and_version_test.dart This CL combines * https://dart-review.googlesource.com/c/sdk/+/171729 * https://dart-review.googlesource.com/c/sdk/+/172649 * https://dart-review.googlesource.com/c/sdk/+/172650 * https://dart-review.googlesource.com/c/sdk/+/172651 using the initial encoding fo EqualsCall and EqualsNull Change-Id: I98e020b5f2b405a812663bdcd2c05aba8efa74c8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/175480 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
20 lines
737 B
Plaintext
20 lines
737 B
Plaintext
class Class<T> {
|
|
Class<T> operator +(Class<T> other) => other;
|
|
Class<T> operator -() => this;
|
|
Class<T> operator [](int index) => this;
|
|
operator []=(int index, Class<T> value) {}
|
|
int method(double o) => 42;
|
|
}
|
|
|
|
add(num n, int i, double d, Class<String> c, dynamic dyn, Never never,
|
|
String string) {}
|
|
unaryMinus(num n, int i, double d, Class<String> c, dynamic dyn, Never never,
|
|
String string) {}
|
|
indexGet(List<int> list, Map<String, double> map, Class<String> c, dynamic dyn,
|
|
Never never, String string) {}
|
|
indexSet(List<int> list, Map<String, double> map, Class<String> c, dynamic dyn,
|
|
Never never) {}
|
|
compound(List<int> list, Map<String, double> map, Class<String> c, dynamic dyn,
|
|
Never never) {}
|
|
main() {}
|