| library; |
| // |
| // Problems in library: |
| // |
| // pkg/front_end/testcases/enhanced_parts/part_with_import.dart:8:3: Error: Method not found: 'foo'. |
| // foo(); // Error |
| // ^^^ |
| // |
| import self as self; |
| import "part_with_import_lib.dart" as par; |
| |
| import "org-dartlang-testcase:///part_with_import_lib.dart"; |
| |
| part part_with_import_part.dart; |
| static method method1() → dynamic { |
| invalid-expression "pkg/front_end/testcases/enhanced_parts/part_with_import.dart:8:3: Error: Method not found: 'foo'. |
| foo(); // Error |
| ^^^"; |
| } |
| static method /* from org-dartlang-testcase:///part_with_import_part.dart */ method2() → dynamic { |
| par::foo(); |
| } |
| |
| library; |
| import self as par; |
| |
| static method foo() → void {} |