Fixing issue 16744

This fixes [dartbug 16744](https://code.google.com/p/dart/issues/detail?id=16744)