Skip to content

Commit

Permalink
Fix a couple of hints in the nnbd migrator
Browse files Browse the repository at this point in the history
Change-Id: Iaa2442432fe300fd116224a2c2d75e9d76d4e1e2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112260
Reviewed-by: Paul Berry <paulberry@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
  • Loading branch information
bwilkerson authored and commit-bot@chromium.org committed Aug 7, 2019
1 parent bff5732 commit c565fbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/nnbd_migration/lib/nnbd_migration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class NullabilityFixDescription {
/// nullable.
factory NullabilityFixDescription.makeTypeNullable(String type) =>
NullabilityFixDescription._(
appliedMessage: 'Changed type ${type} to be nullable',
appliedMessage: 'Changed type $type to be nullable',
);

const NullabilityFixDescription._({@required this.appliedMessage});
Expand Down
2 changes: 0 additions & 2 deletions pkg/nnbd_migration/test/decorated_class_hierarchy_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

import 'package:analyzer/dart/ast/ast.dart';
import 'package:analyzer/dart/element/type.dart';
import 'package:nnbd_migration/src/decorated_class_hierarchy.dart';
import 'package:nnbd_migration/src/decorated_type.dart';
import 'package:nnbd_migration/src/nullability_node.dart';
import 'package:test/test.dart';
import 'package:test_reflective_loader/test_reflective_loader.dart';
Expand Down

0 comments on commit c565fbf

Please sign in to comment.