dart-sdk/tests/language/regress_27572_test.dart
Florian Schneider d99229026e Fix issues with argument evaluation order and noSuchMethod errors.
Fix tests to conform to spec bahavior.

Update dart2js test status.

BUG=#27572
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/2416513003 .
2016-10-12 17:04:55 -07:00

18 lines
449 B
Dart

// 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.
// Test static noSuchMethod with a prefix.
import "package:expect/expect.dart";
import 'dart:collection' as col;
main() {
try {
col.foobar(1234567);
} catch(e) {
Expect.isTrue(e.toString().contains("1234567"));
}
}