Support some language construct to be able to access private things from unit tests #10219
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
closed-duplicate
Closed in favor of an existing report
This issue was originally filed by [email protected]
Currently we need to do some hacks to be able to see private things in libraries from unit tests. It's all discussed in this thread:
https://groups.google.com/a/dartlang.org/forum/?fromgroups=#!topic/misc/0A0YnNILsDU
We have some hacks to be able to do it, but it would be wise to add some feature to the language so that we can do it in a clean way.
I would suggest something like being able to add a fragment on top of an existing library (similar to OSGi fragments) or a keyword similar to C++'s "friend".
The text was updated successfully, but these errors were encountered: