Merge pull request #7 from dart-lang/dart2-fix

Fix a Dart 2 runtime error in a test