File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3809,8 +3809,8 @@ abstract class ModelElement extends Canonicalization
3809
3809
if (! _characterLocationIsSet) {
3810
3810
LineInfo lineInfo = compilationUnitElement.lineInfo;
3811
3811
_characterLocationIsSet = true ;
3812
- assert (element.nameOffset >= 0 , 'Invalid location data for element: ${ fullyQualifiedName } ' );
3813
- assert (lineInfo != null , 'No lineInfo data available for element: ${ fullyQualifiedName } ' );
3812
+ assert (element.nameOffset >= 0 , 'Invalid location data for element: $fullyQualifiedName ' );
3813
+ assert (lineInfo != null , 'No lineInfo data available for element: $fullyQualifiedName ' );
3814
3814
if (element.nameOffset >= 0 ) {
3815
3815
_characterLocation = lineInfo? .getLocation (element.nameOffset);
3816
3816
}
@@ -5319,14 +5319,14 @@ class PackageGraph {
5319
5319
List <String > messageParts = [warningMessage];
5320
5320
if (warnable != null ) {
5321
5321
messageParts
5322
- .add ("${ warnablePrefix } ${ warnableName } : ${ warnable .location } " );
5322
+ .add ("$warnablePrefix $ warnableName : $warnable .location" );
5323
5323
}
5324
5324
if (referredFrom != null ) {
5325
5325
for (Locatable referral in referredFrom) {
5326
5326
if (referral != warnable) {
5327
5327
var referredFromStrings = _safeWarnableName (referral);
5328
5328
messageParts.add (
5329
- "${ referredFromPrefix } ${ referredFromStrings } : ${referral .location }" );
5329
+ "$referredFromPrefix $ referredFromStrings : ${referral .location }" );
5330
5330
}
5331
5331
}
5332
5332
}
You can’t perform that action at this time.
0 commit comments