Skip to content

Instantly share code, notes, and snippets.

@tensor-programming
Created May 17, 2018 10:29
Show Gist options
  • Save tensor-programming/ecb2030a914a71eca979816661a8d932 to your computer and use it in GitHub Desktop.
Save tensor-programming/ecb2030a914a71eca979816661a8d932 to your computer and use it in GitHub Desktop.
#33149 of dartSDK
// in lib folder
import 'b.dart';
class A {
final B b;
A(this.b);
}
// in lib folder
class B {}
// in lib folder
import 'a.dart';
import 'package:test_bug/b.dart';
class C {
final A a = A(B()); //error at this line.
}
// in bin folder
void main() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment