Created
July 31, 2020 20:00
-
-
Save atreeon/acd2767cd42371deae0644fa66e8c602 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
class Parent {} | |
class Sub implements Parent { | |
String get blah => "blah"; | |
} | |
String fnSub(Sub sub) => sub.blah; | |
String aProblem(Parent parent) => fnSub(parent); | |
void main(){ | |
aProblem(Parent()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment