Chromium Code Reviews| Index: runtime/lib/identical_patch.dart |
| =================================================================== |
| --- runtime/lib/identical_patch.dart (revision 16094) |
| +++ runtime/lib/identical_patch.dart (working copy) |
| @@ -2,6 +2,4 @@ |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| -patch bool identical(Object a, Object b) { |
| - throw new Error('Should not reach the body of identical'); |
| -} |
| +patch bool identical(Object a, Object b) => a === b; |
|
srdjan
2012/12/13 18:06:59
We need a native here, as discussed before. VM tea
|