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

Unified Diff: frog/tests/leg/type_inference_test.dart

Issue 10440087: Compute liveness of instructions to get better and fewer variable names. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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: frog/tests/leg/type_inference_test.dart
===================================================================
--- frog/tests/leg/type_inference_test.dart (revision 8089)
+++ frog/tests/leg/type_inference_test.dart (working copy)
@@ -68,7 +68,7 @@
main() {
String generated = compile(TEST_ONE, 'sum');
RegExp regexp =
- new RegExp("sum\\d+ = \\(?$anyIdentifier \\+ $anyIdentifier\\)?");
+ new RegExp("sum = sum \\+ i");
Lasse Reichstein Nielsen 2012/05/31 08:24:56 This is completely static text, so a RegExp is ove
ngeoffray 2012/05/31 08:48:22 Done.
Expect.isTrue(regexp.hasMatch(generated));
regexp = const RegExp("typeof param1 !== 'number'");

Powered by Google App Engine
This is Rietveld 408576698