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; |