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

Unified Diff: frog/leg/tree_validator.dart

Issue 9271037: Inserted string validation as separate task in compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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: frog/leg/tree_validator.dart
diff --git a/frog/leg/tree_validator.dart b/frog/leg/tree_validator.dart
index 9683721a6b0cb464feef6ece6dfdfa7c717647dd..e6d9035750d969db51f87ae4b05f523907e08540 100644
--- a/frog/leg/tree_validator.dart
+++ b/frog/leg/tree_validator.dart
@@ -55,12 +55,12 @@ class ValidatorVisitor extends AbstractVisitor {
}
class InvalidNodeError {
- final Node node;
+ final Node node;
ahe 2012/01/25 08:39:44 Please revert this change.
karlklose 2012/01/25 08:47:26 Remove extra space again.
Lasse Reichstein Nielsen 2012/01/26 10:14:20 Done.
final String message;
InvalidNodeError(this.node, [this.message]);
toString() {
- String nodeString = new Unparser(true).unparse(node);
+ String nodeString = new Unparser(true).unparse(node );
ahe 2012/01/25 08:39:44 Ditto.
karlklose 2012/01/25 08:47:26 ditto.
Lasse Reichstein Nielsen 2012/01/26 10:14:20 Done.
String result = 'invalid node: $nodeString';
if (message !== null) result = '$result ($message)';
return result;

Powered by Google App Engine
This is Rietveld 408576698