Open
Description
Consider:
main.dart:
import 'dart:async' as alias;
part 'part.dart';
part.dart
part of 'main.dart';
import 'dart:math' as alias;
void foo(int a, int b) => alias.max(a, b);
alias.FutureOr bar() {}
I was under the impression that when creating alias
inside part
, it would override the main
definition for it. But I might be mistaken.
If this is intended, then the "Go to definition" and hover for the import prefix should take this into consideration.