Skip to content

Instantly share code, notes, and snippets.

@osa1
Created November 11, 2022 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osa1/fd3f277bdf842b586dc799f895c22aed to your computer and use it in GitHub Desktop.
Save osa1/fd3f277bdf842b586dc799f895c22aed to your computer and use it in GitHub Desktop.
Strange Dart 2
class A {
void f() {
print('A.f called');
}
}
class B extends A {
@override
void f();
}
void main() {
B b = B();
b.f();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment