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

Unified Diff: pkg/third_party/html5lib/lib/src/tokenizer.dart

Issue 23221002: html5lib -- workaround dart2js checked issues (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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
« no previous file with comments | « pkg/pkg.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/third_party/html5lib/lib/src/tokenizer.dart
diff --git a/pkg/third_party/html5lib/lib/src/tokenizer.dart b/pkg/third_party/html5lib/lib/src/tokenizer.dart
index ee867b7cc7cc549e94439ec7f68133b706e44154..2c2ada79d5ab5fbabdc3bc0aa56f6a91717e51c0 100644
--- a/pkg/third_party/html5lib/lib/src/tokenizer.dart
+++ b/pkg/third_party/html5lib/lib/src/tokenizer.dart
@@ -59,7 +59,9 @@ class HtmlTokenizer implements Iterator<Token> {
/**
* Holds a reference to the method to be invoked for the next parser state.
*/
- Predicate state;
+ // TODO(jmesserly): the type should be "Predicate" but a dart2js checked mode
+ // bug prevents us from doing that. See http://dartbug.com/12465
+ Function state;
String temporaryBuffer;
« no previous file with comments | « pkg/pkg.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698