dart-lang / co19

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

#2559. Add metadata tests #2832

Closed sgrekhov closed 2 months ago

sgrekhov commented 2 months ago

Updated. PTAL. Do we need a library name in an augmentating file?

eernstg commented 2 months ago

No. Every augment library will soon be a part file, and they definitely do not allow for a library name. Also, 'dart:mirrors' should work on the contents of the library at the semantic level ("after merging"), not just the textual contents of the library file, which means that all references to the library should include the result of applying all augmentations, no matter which file they are located in.