mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:21:18 +00:00
Allow the name of an extension to be accessed while linking
Change-Id: I1e76e61e2ceed557bcb6f0644f836075f2631e79 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110182 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
parent
46bcc460c0
commit
030e60e0ef
|
@ -2571,11 +2571,13 @@ class ExtensionElementForLink
|
|||
@override
|
||||
final CompilationUnitElementForLink enclosingElement;
|
||||
|
||||
// TODO(brianwilkerson) Remove this field if it remains unreferenced.
|
||||
final UnlinkedExtension _unlinkedExtension;
|
||||
|
||||
ExtensionElementForLink(this.enclosingElement, this._unlinkedExtension);
|
||||
|
||||
@override
|
||||
String get name => _unlinkedExtension.name;
|
||||
|
||||
@override
|
||||
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue