We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e8a93c commit 0ba9781Copy full SHA for 0ba9781
pkg/dart2wasm/lib/symbols.dart
@@ -35,7 +35,8 @@ class Symbols {
35
symbolOrdinals.putIfAbsent(symbol, () => symbolOrdinals.length));
36
}
37
38
- if (symbol.libraryReference == null) {
+ final libraryReference = symbol.libraryReference;
39
+ if (libraryReference == null) {
40
return symbol.name;
41
42
@@ -46,7 +47,7 @@ class Symbols {
46
47
// The symbol must be a private identifier (library symbols like `#a.b.c` do
48
// not have private parts in them).
49
assert(!symbol.name.contains('.') && symbol.name.startsWith('_'));
- return '${symbol.name}@${symbol.libraryReference!.canonicalName.hashCode}';
50
+ return '${symbol.name}@${libraryReference.asLibrary.importUri.hashCode}';
51
52
53
0 commit comments