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

Unified Diff: dart/tests/compiler/dart2js/unparser_test.dart

Issue 11117022: Fix a crash related to obsolete factory syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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: dart/tests/compiler/dart2js/unparser_test.dart
diff --git a/dart/tests/compiler/dart2js/unparser_test.dart b/dart/tests/compiler/dart2js/unparser_test.dart
index af53532804c88be8741d9ef1ce9423609b5a2a17..bb824b320299fba4d819f97d50113e7bc7305b63 100644
--- a/dart/tests/compiler/dart2js/unparser_test.dart
+++ b/dart/tests/compiler/dart2js/unparser_test.dart
@@ -246,6 +246,7 @@ testRedirectingFactoryConstructors() {
testClassDeclarations() {
testUnparseTopLevelWithMetadata('class Foo{}');
testUnparseTopLevelWithMetadata('abstract class Foo{}');
+ testUnparseTopLevelWithMetadata('class Fisk{operator-(x){}}');
}
main() {
« dart/lib/compiler/implementation/tree/unparser.dart ('K') | « dart/tests/co19/co19-dart2js.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698