-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)
Description
Seems to be https://github.com/dart-lang/sdk/blob/master/pkg/analyzer/lib/src/task/strong/info.dart#L460
abstract class CopyItem {
final io.FileSystemEntity source;
io.FileSystemEntity destination;
CopyItem._(this.source, this.destination);
}
/// A file to copy to the deployable directory.
class CopyFile extends CopyItem {
CopyFile._(io.File file, io.File destination) : super._(file, destination);
@override
io.File get destination => super.destination; // <= error
}
/// A directory to copy to the deployable directory.
class CopyDirectory extends CopyItem {
CopyDirectory._(io.Directory directory, io.Directory destination)
: super._(directory, destination);
@override
io.Directory get destination => super.destination; // <= error
}
Is this intentional?
Dart VM version: 1.13.0-edge.73b6080a6b26ad24380477c4a584edd6cb2e2ab5 (Fri Nov 13 14:15:20 2015) on "linux_x64"
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onlegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)Incorrect behavior (everything from a crash to more subtle misbehavior)