| Index: pkg/kernel/lib/transformations/insert_covariance_checks.dart
|
| diff --git a/pkg/kernel/lib/transformations/insert_covariance_checks.dart b/pkg/kernel/lib/transformations/insert_covariance_checks.dart
|
| index 7bc18bea8039ba590ca65ad1d38774b30d3b3860..050e6915a5db0519897a31d8b70fed827197ecc7 100644
|
| --- a/pkg/kernel/lib/transformations/insert_covariance_checks.dart
|
| +++ b/pkg/kernel/lib/transformations/insert_covariance_checks.dart
|
| @@ -378,7 +378,7 @@ class _ClassTransformer {
|
| var targetType = cloneParameter.type;
|
| cloneParameter.type = cloner.visitType(getSafeType(unsafeInputs));
|
| return new AsExpression(new VariableGet(cloneParameter), targetType)
|
| - ..fileOffset = parameter.fileOffset;
|
| + ..fileOffset = parameter.fileOffset;
|
| }
|
|
|
| // TODO: Insert checks for type parameter bounds.
|
| @@ -418,7 +418,7 @@ class _ClassTransformer {
|
| if (unsafeTypes != null) {
|
| var castType = substitute(field.type, ownSubstitution);
|
| argument = new AsExpression(argument, castType)
|
| - ..fileOffset = field.fileOffset;
|
| + ..fileOffset = field.fileOffset;
|
| var inputType = substitute(getSafeType(unsafeTypes), ownSubstitution);
|
| parameter.type = inputType;
|
| }
|
|
|