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

Side by Side Diff: tests/lib/mirrors/eval_cid_exhaustion_test.dart

Issue 379353003: Implement Evaluate without creating new classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Regression test for issue 18535. 5 import 'dart:mirrors';
6 6
7 import 'dart:mirrors'; 7 main() {
8 import 'package:collection/collection.dart'; 8 const classTableSize = 1 << 16;
hausner 2014/07/10 20:17:43 Maybe a comment that this must be in sync with <in
rmacnak 2014/07/10 22:26:21 Moved to a VM internal test.
9 9 for (int i = 1; i < classTableSize; i++) {
10 void main() { 10 reflect(0).eval("3 + 4");
11 print(currentMirrorSystem().libraries); 11 }
12 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698