File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -541,8 +541,10 @@ extension type JSSymbol._(JSSymbolRepType _jsSymbol) implements JSAny {
541541 /// If [description] is provided, it's used for debugging but not to access
542542 /// the symbol itself.
543543 @Since ('3.11' )
544- JSSymbol ([String ? description]) =>
545- _jsSymbol = description == null ? _constructSymbol () : _constructSymbol (description);
544+ JSSymbol ([String ? description])
545+ : _jsSymbol = description == null
546+ ? _constructSymbol ()
547+ : _constructSymbol (description);
546548
547549 /// Searches for an existing symbol in a runtime-wide symbol registry with the
548550 /// given key and returns it if found.
@@ -551,7 +553,7 @@ extension type JSSymbol._(JSSymbolRepType _jsSymbol) implements JSAny {
551553 /// registry, and returns it.
552554 @Since ('3.11' )
553555 @JS ('for' )
554- external static JSSymbol forKey (String key;
556+ external static JSSymbol forKey (String key) ;
555557
556558 /// `Symbol.asyncDispose` from the ECMAScript [explicit resource management]
557559 /// feature.
You can’t perform that action at this time.
0 commit comments