anchor.diff: -import 'package:dartx/dartx.dart';
   import 'package:parser/parser.dart' as ast;
   
   import '../../errors.dart';
   import '../../query.dart';
   import '../../utils.dart';
  +import '../ast.dart';
   import '../hir.dart' as hir;
   import '../hir/ids.dart';
  +import '../ids.dart';
   import 'declarations/declarations.dart';
   import 'declarations/module.dart';
   import 'declarations/trait.dart';
  
positive.code:     final currentModuleId = inputs.first;
      final type = inputs.second;
  
      final currentModuleDeclarationId =
          moduleIdToDeclarationId(context, currentModuleId);
      final currentResourceId = currentModuleDeclarationId.resourceId;
  
negative.code: 
      if (type is ast.UserType) {
        final declarationId = resolveAstUserType(context, Tuple2(moduleId, type));
        final name = type.simpleTypes.single.name.name;
  
        final arguments =
            mapTypes((type.arguments?.arguments ?? []).map((a) => a.type));
        return hir.CandyType.user(
          declarationIdToModuleId(context, declarationId),
          name,
  