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

Unified Diff: test/kernel/regression/unresolved_constructor.dart

Issue 2108193002: Change error handling. (Closed) Base URL: git@github.com:dart-lang/rasta.git@master
Patch Set: Address comments Created 4 years, 6 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 | « test/kernel/regression/unresolved.dart.txt ('k') | test/kernel/regression/unresolved_constructor.dart.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/unresolved_constructor.dart
diff --git a/test/kernel/regression/issue_000008.dart b/test/kernel/regression/unresolved_constructor.dart
similarity index 79%
copy from test/kernel/regression/issue_000008.dart
copy to test/kernel/regression/unresolved_constructor.dart
index b9f1f6e480aefc2eb0cbaf399221abf9426bcb71..3106df6a03ab388be221dd2821af805ef297a57a 100644
--- a/test/kernel/regression/issue_000008.dart
+++ b/test/kernel/regression/unresolved_constructor.dart
@@ -2,11 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-class C {
- final x;
- C(this.x);
+class Foo {
+ Foo(x, y);
}
main() {
- new C(42);
+ new Foo();
+ new Foo.notHere();
}
« no previous file with comments | « test/kernel/regression/unresolved.dart.txt ('k') | test/kernel/regression/unresolved_constructor.dart.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698