| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 library fletchc.fletch_constants; | 5 library fletchc.fletch_constants; |
| 6 | 6 |
| 7 import 'package:compiler/src/constants/values.dart' show | 7 import 'package:compiler/src/constants/values.dart' show |
| 8 ConstantValue; | 8 ConstantValue; |
| 9 | 9 |
| 10 import 'package:compiler/src/core_types.dart' show | 10 import 'package:compiler/src/core_types.dart' show |
| 11 CoreTypes; | 11 CoreTypes; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 String toStructuredString() { | 72 String toStructuredString() { |
| 73 return 'FletchClassInstanceConstant($classId)'; | 73 return 'FletchClassInstanceConstant($classId)'; |
| 74 } | 74 } |
| 75 | 75 |
| 76 bool operator==(other) { | 76 bool operator==(other) { |
| 77 return other is FletchClassInstanceConstant && other.classId == classId; | 77 return other is FletchClassInstanceConstant && other.classId == classId; |
| 78 } | 78 } |
| 79 | 79 |
| 80 int get hashCode => classId; | 80 int get hashCode => classId; |
| 81 } | 81 } |
| OLD | NEW |