| Index: sdk/lib/io/socket.dart
|
| ===================================================================
|
| --- sdk/lib/io/socket.dart (revision 41001)
|
| +++ sdk/lib/io/socket.dart (working copy)
|
| @@ -417,10 +417,10 @@
|
|
|
| const RawSocketEvent._(this._value);
|
| String toString() {
|
| - return ['RawSocketEvent:READ',
|
| - 'RawSocketEvent:WRITE',
|
| - 'RawSocketEvent:READ_CLOSED',
|
| - 'RawSocketEvent:CLOSED'][_value];
|
| + return const ['RawSocketEvent:READ',
|
| + 'RawSocketEvent:WRITE',
|
| + 'RawSocketEvent:READ_CLOSED',
|
| + 'RawSocketEvent:CLOSED'][_value];
|
| }
|
| }
|
|
|
|
|