Fixing Issue 20687

Fixes [dartbug 20687](https://code.google.com/p/dart/issues/detail?id=20687).