return false;
}
// should be private
DartSdk sdk = currentLibrary.getContext().getSourceFactory().getDartSdk();
String uri = exportElement.getUri();
SdkLibrary sdkLibrary = sdk.getSdkLibrary(uri);
if (sdkLibrary == null) {
return false;
}
if (!sdkLibrary.isInternal()) {
return false;
}
// report problem
errorReporter.reportErrorForNode(
CompileTimeErrorCode.EXPORT_INTERNAL_LIBRARY,