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

Unified Diff: tests/language/vm/regress_27671_other.dart

Issue 2453263002: Produce the correct assertion failure expression in the face of inlining (Closed)
Patch Set: Created 4 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: tests/language/vm/regress_27671_other.dart
diff --git a/runtime/observatory/lib/src/models/objects/target.dart b/tests/language/vm/regress_27671_other.dart
similarity index 71%
copy from runtime/observatory/lib/src/models/objects/target.dart
copy to tests/language/vm/regress_27671_other.dart
index a58673f248b4a1bd7638d02be186e5ec384640a3..cfa3242276ae763173d326e7b33be79eb20c31da 100644
--- a/runtime/observatory/lib/src/models/objects/target.dart
+++ b/tests/language/vm/regress_27671_other.dart
@@ -1,9 +1,11 @@
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+//
siva 2016/10/27 10:46:48 extra comment line?
Cutch 2016/10/27 11:25:29 Done.
-part of models;
+import 'regress_27671_test.dart';
-abstract class Target {
- String get name;
+@AlwaysInline
+void check(f, x) {
+ assert(f(x));
}

Powered by Google App Engine
This is Rietveld 408576698