Skip to content

Commit 52f3cc5

Browse files
committed
Fix 592 @lrhn
1 parent ae17e85 commit 52f3cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/lib/_internal/js_runtime/lib/core_patch.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ class bool {
589589
(throw FormatException("Not a valid boolean", source));
590590

591591
@patch
592-
static bool? tryParse(String source, {bool? caseSensitive}) {
592+
static bool? tryParse(String source, {bool caseSensitive = true}) {
593593
return Primitives.parseBool(source, caseSensitive);
594594
}
595595
}

0 commit comments

Comments
 (0)