fix(parser): Workaround dart2js bugs in latest version of Dart SDK 1.2.