dart-lang / co19

A Dart language and library conformance test suite
BSD 3-Clause "New" or "Revised" License
37 stars 28 forks source link

Fixes #2859. Hide public extension methods if an import is deferred #2864

Closed sgrekhov closed 6 days ago

sgrekhov commented 6 days ago

The updated test works in the latest SDK. @eernstg is it expected that extension types can be loaded defferedly?

eernstg commented 6 days ago

Yes, an extension type can certainly be obtained as the result of importing a library, and it shouldn't make any difference that the import is deferred (except for the usual stuff like the need to call loadLibrary() etc.).

eernstg commented 6 days ago

But this means that the hide is needed because LibExt is an extension. Thanks!