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

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

Issue 1382313002: dart2js: set effective target for patched constructors (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/patch_test.dart
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart
index 1422a1a3958d8edb5b823c0315f1db07050ad87d..660a803502a3dca97dcd49ac9d52c456a7fcb06a 100644
--- a/tests/compiler/dart2js/patch_test.dart
+++ b/tests/compiler/dart2js/patch_test.dart
@@ -953,7 +953,9 @@ Future testEffectiveTarget() async {
""";
String patch = """
@patch class B {
+ @patch
B.patchTarget() : super();
+ @patch
factory B.reflectBack() = B.originTarget;
}
""";
@@ -1025,7 +1027,7 @@ main() {
await testPatchAndSelector();
- await testEffectiveTarget(); /// bug: ok
+ await testEffectiveTarget();
await testAnalyzeAllInjectedMembers();
await testTypecheckPatchedMembers();
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698