9ad76fe7bd
The fix includes processing of type parameters elsewhere and also adding support for annotations on extensions. Closes #28981 TEST=existing Change-Id: I71ab5640bd3a16f4a024b6edd047a525eed1c399 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/191404 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>
24 lines
558 B
Plaintext
24 lines
558 B
Plaintext
library /*isNonNullableByDefault*/;
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
class A extends core::Object /*hasConstConstructor*/ {
|
|
const constructor •() → self::A
|
|
: super core::Object::•()
|
|
;
|
|
}
|
|
@#C1
|
|
extension Extension on core::int {
|
|
}
|
|
static method main() → dynamic {}
|
|
|
|
constants {
|
|
#C1 = self::A {}
|
|
}
|
|
|
|
|
|
Constructor coverage from constants:
|
|
org-dartlang-testcase:///extension_annotation.dart:
|
|
- A. (from org-dartlang-testcase:///extension_annotation.dart:6:9)
|
|
- Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart:25:9)
|