e14726a3f4
We change the type of FileUriNode.fileUri from String to Uri, which in principle doesn't change the binary format. However, we did notice that LibraryParts weren't serialized as specified in binary.md, so we also fixed that. Since fileUris are stored as strings in a separate table, Uri.parse is only called once per unique URI. Fasta only uses relativizeUri when printing diagnostics, and URIs stored in expectation files (golden files) are relativized using String.replaceAll. Change-Id: Ib2dc1b80c03a0cdaf84e48b8b3ba73b16bdf8a40 Reviewed-on: https://dart-review.googlesource.com/25421 Commit-Queue: Peter von der Ahé <ahe@google.com> Reviewed-by: Jens Johansen <jensj@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>