6526b26ddb
With the Builder model refactoring this test made less and less sense on its own. Removing the test enables the removal for properties that don't fit well with the new Builder model. The existing tests have been converted to expectation tests to preserve test coverage. Change-Id: I0234a110321187870ad969236f58aae634f614cd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418022 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com>
22 lines
771 B
Dart
22 lines
771 B
Dart
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
// ignore: uri_does_not_exist
|
|
import 'dart:test';
|
|
|
|
main() {
|
|
"".instanceMethod();
|
|
"".genericInstanceMethod<int>(0);
|
|
"".instanceProperty = "".instanceProperty;
|
|
Extension.staticMethod();
|
|
Extension.genericStaticMethod<int>(0);
|
|
Extension.staticProperty = Extension.staticProperty;
|
|
true.instanceMethod();
|
|
true.genericInstanceMethod<int>(0);
|
|
true.instanceProperty = true.instanceProperty;
|
|
GenericExtension.staticMethod();
|
|
GenericExtension.genericStaticMethod<int>(0);
|
|
GenericExtension.staticProperty = GenericExtension.staticProperty;
|
|
}
|