c53952a46d
In addition: * Use InstanceCall1 instead of InstanceCall2 for now as InstanceCall2 requires ICData objects with 2 checked arguments. * Remove try-catch around bytecode generation as all operations are supported and silent fallback is no longer needed. Change-Id: Iead5a4997450cc47ef3bb3221647e733b7a72b62 Reviewed-on: https://dart-review.googlesource.com/62443 Reviewed-by: Régis Crelier <regis@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>
14 lines
366 B
Dart
14 lines
366 B
Dart
// Copyright (c) 2018, 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.
|
|
|
|
void test1(bool condition) {
|
|
assert(condition);
|
|
}
|
|
|
|
void test2(bool condition(), String message()) {
|
|
assert(condition(), message());
|
|
}
|
|
|
|
main() {}
|