36641368bb
This changes ast-to-text to mark legacy libraries instead of non-nullable-by-default libraries. TEST=existing Change-Id: Ib01147e4ef48c2c5b2ffc6b23547998344dfdf2e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/307121 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
12 lines
611 B
Plaintext
12 lines
611 B
Plaintext
library test;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static method _mergeSort<T extends core::Object? = dynamic>((self::_mergeSort::T%) → self::_mergeSort::T% list, (self::_mergeSort::T%, self::_mergeSort::T%) → core::int compare, (self::_mergeSort::T%) → self::_mergeSort::T% target) → void {
|
|
self::_mergeSort<self::_mergeSort::T%>(list, compare, target);
|
|
self::_mergeSort<self::_mergeSort::T%>(list, compare, list);
|
|
self::_mergeSort<self::_mergeSort::T%>(target, compare, target);
|
|
self::_mergeSort<self::_mergeSort::T%>(target, compare, list);
|
|
}
|
|
static method main() → dynamic {}
|