|
5 | 5 | // DO NOT EDIT. This file was generated from async_environment.dart.
|
6 | 6 | // See tool/grind/synchronize.dart for details.
|
7 | 7 | //
|
8 |
| -// Checksum: 6666522945667f7f041530ee545444b7b40cfc80 |
| 8 | +// Checksum: 90df4751419f38332128857f9e02d481cbd7e5a7 |
9 | 9 | //
|
10 | 10 | // ignore_for_file: unused_import
|
11 | 11 |
|
@@ -283,11 +283,10 @@ class Environment {
|
283 | 283 | var view = ForwardedModuleView(module, rule);
|
284 | 284 | for (var other in _forwardedModules) {
|
285 | 285 | _assertNoConflicts(
|
286 |
| - view.variables, other.variables, module, other, "variable", rule); |
| 286 | + view.variables, other.variables, view, other, "variable", rule); |
287 | 287 | _assertNoConflicts(
|
288 |
| - view.functions, other.functions, module, other, "function", rule); |
289 |
| - _assertNoConflicts( |
290 |
| - view.mixins, other.mixins, module, other, "mixin", rule); |
| 288 | + view.functions, other.functions, view, other, "function", rule); |
| 289 | + _assertNoConflicts(view.mixins, other.mixins, view, other, "mixin", rule); |
291 | 290 | }
|
292 | 291 |
|
293 | 292 | // Add the original module to [_allModules] (rather than the
|
@@ -322,8 +321,9 @@ class Environment {
|
322 | 321 |
|
323 | 322 | for (var name in smaller.keys) {
|
324 | 323 | if (!larger.containsKey(name)) continue;
|
325 |
| - if (newModule.variableIdentity(name) == |
326 |
| - oldModule.variableIdentity(name)) { |
| 324 | + if (type == "variable" && |
| 325 | + newModule.variableIdentity(name) == |
| 326 | + oldModule.variableIdentity(name)) { |
327 | 327 | continue;
|
328 | 328 | }
|
329 | 329 |
|
|
0 commit comments