From f15404e9082cdabcd582dce9237a84515a906ce0 Mon Sep 17 00:00:00 2001 From: Erik Ernst Date: Mon, 14 Aug 2023 16:33:19 +0000 Subject: [PATCH] Correct libraryExport to use configurableUri Bug: https://github.com/dart-lang/sdk/issues/53214 Change-Id: Idb0756d0c666c8126f5bbb7247b0e40791f28e39 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/320560 Commit-Queue: Erik Ernst Auto-Submit: Erik Ernst Reviewed-by: William Hesse --- tools/spec_parser/Dart.g | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/spec_parser/Dart.g b/tools/spec_parser/Dart.g index 9e40f0ae7ae..33231de1269 100644 --- a/tools/spec_parser/Dart.g +++ b/tools/spec_parser/Dart.g @@ -4,6 +4,8 @@ // CHANGES: // +// v0.37 Correct `libraryExport` to use `configurableUri`, not `uri`. +// // v0.36 Update syntax from `inline class` to `extension type`, including // a special case of primary constructors. // @@ -1371,7 +1373,7 @@ libraryImport ; importSpecification - : IMPORT configurableUri (DEFERRED? AS identifier)? combinator* ';' + : IMPORT configurableUri (DEFERRED? AS typeIdentifier)? combinator* ';' ; combinator @@ -1384,7 +1386,7 @@ identifierList ; libraryExport - : metadata EXPORT uri combinator* ';' + : metadata EXPORT configurableUri combinator* ';' ; partDirective