Files
sdk/pkg/front_end/testcases/qualified_lib.dart
T
Peter von der Ahé e7f26dc769 Improve handling of qualified names.
Change-Id: I02d7cb034c268303bd51fc43f4e0d809f346e8d2
Reviewed-on: https://dart-review.googlesource.com/10500
Commit-Queue: Peter von der Ahé <ahe@google.com>
Reviewed-by: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2017-10-04 18:34:49 +00:00

26 lines
523 B
Dart

// Copyright (c) 2017, 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.
library test.qualified.lib;
import "qualified.dart" as main;
class C<T> extends main.C<T> {
C();
C.a();
factory C.b() = C<T>.a;
}
class Supertype {
supertypeMethod() {
print("I'm supertypeMethod form lib.Supertype");
}
}
abstract class Mixin {
foo() {
print("I'm Mixin.foo");
}
}