Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Unified Diff: sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart
diff --git a/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart b/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart
index afda7ad1c73803b1ccc20dc8a5b5e5fcd40580cf..67109a45fee2132a32fa82ce0f87855afb9c4849 100644
--- a/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart
+++ b/sdk/lib/_internal/dartdoc/lib/src/markdown/block_parser.dart
@@ -135,7 +135,7 @@ abstract class BlockSyntax {
/// Gets whether or not [parser]'s current line should end the previous block.
static bool isAtBlockEnd(BlockParser parser) {
if (parser.isDone) return true;
- return syntaxes.some((s) => s.canParse(parser) && s.canEndBlock);
+ return syntaxes.any((s) => s.canParse(parser) && s.canEndBlock);
}
}
« no previous file with comments | « sdk/lib/_internal/dartdoc/lib/src/json_serializer.dart ('k') | sdk/lib/_internal/dartdoc/lib/src/markdown/html_renderer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698