Skip to content

Commit 374480f

Browse files
committed
Code review
1 parent f53ef59 commit 374480f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/lib/js_interop/js_interop.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ extension type JSSymbol._(JSSymbolRepType _jsSymbol) implements JSAny {
542542
/// the symbol itself.
543543
@Since('3.11')
544544
JSSymbol([String? description]) =>
545-
description == null ? _constructSymbol() : _constructSymbol(description);
545+
_jsSymbol = description == null ? _constructSymbol() : _constructSymbol(description);
546546

547547
/// Searches for an existing symbol in a runtime-wide symbol registry with the
548548
/// given key and returns it if found.
@@ -551,7 +551,7 @@ extension type JSSymbol._(JSSymbolRepType _jsSymbol) implements JSAny {
551551
/// registry, and returns it.
552552
@Since('3.11')
553553
@JS('for')
554-
external static JSSymbol forKey(String key);
554+
external static JSSymbol forKey(String key;
555555

556556
/// `Symbol.asyncDispose` from the ECMAScript [explicit resource management]
557557
/// feature.

0 commit comments

Comments
 (0)