Created
December 14, 2017 20:47
-
-
Save mraleph/3f2df46ce4c23ce791311cc33ec6734f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class B { | |
} | |
class C extends B { | |
bool c; | |
} | |
abstract class Base<T extends B> { | |
T get f => null; | |
} | |
abstract class Mixin extends Base<B> { | |
} | |
class X extends Base<C> with Mixin { | |
bool get c => f.c; | |
} | |
// Fasta reports: | |
// flu.dart:19:19: Error: The getter 'c' isn't defined for the class '#lib1::B'. | |
// Try correcting the name to the name of an existing getter, or defining a getter or field named 'c'. | |
// bool get c => f.c; | |
// ^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment