Chromium Code Reviews| Index: runtime/lib/core_patch.dart |
| =================================================================== |
| --- runtime/lib/core_patch.dart (revision 41925) |
| +++ runtime/lib/core_patch.dart (working copy) |
| @@ -20,4 +20,5 @@ |
| // below can access it because it uses the same name suffix. |
| static const List<String> _enum_names = null; |
| String toString() => _enum_names[index]; |
| + int get hashCode => _enum_names[index].hashCode; |
| } |