| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // This is an empty dummy patch file for the VM dart:scalarlist library. | 5 // This is an empty dummy patch file for the VM dart:scalarlist library. |
| 6 // This is needed in order to be able to generate documentation for the | 6 // This is needed in order to be able to generate documentation for the |
| 7 // scalarlist library. | 7 // scalarlist library. |
| 8 | 8 |
| 9 patch class Int8List { | 9 patch class Int8List { |
| 10 patch factory Int8List(int length) { | 10 patch factory Int8List(int length) { |
| 11 throw new UnsupportedOperationException('Int8List'); | 11 throw new UnsupportedError('Int8List'); |
| 12 } | 12 } |
| 13 | 13 |
| 14 patch factory Int8List.view(ByteArray array, [int start = 0, int length]) { | 14 patch factory Int8List.view(ByteArray array, [int start = 0, int length]) { |
| 15 throw new UnsupportedOperationException('Int8List.view'); | 15 throw new UnsupportedError('Int8List.view'); |
| 16 } | 16 } |
| 17 } | 17 } |
| 18 | 18 |
| 19 | 19 |
| 20 patch class Uint8List { | 20 patch class Uint8List { |
| 21 patch factory Uint8List(int length) { | 21 patch factory Uint8List(int length) { |
| 22 throw new UnsupportedOperationException('Uint8List'); | 22 throw new UnsupportedError('Uint8List'); |
| 23 } | 23 } |
| 24 | 24 |
| 25 patch factory Uint8List.view(ByteArray array, | 25 patch factory Uint8List.view(ByteArray array, |
| 26 [int start = 0, int length]) { | 26 [int start = 0, int length]) { |
| 27 throw new UnsupportedOperationException('Uint8List.view'); | 27 throw new UnsupportedError('Uint8List.view'); |
| 28 } | 28 } |
| 29 } | 29 } |
| 30 | 30 |
| 31 | 31 |
| 32 patch class Int16List { | 32 patch class Int16List { |
| 33 patch factory Int16List(int length) { | 33 patch factory Int16List(int length) { |
| 34 throw new UnsupportedOperationException('Int16List'); | 34 throw new UnsupportedError('Int16List'); |
| 35 | 35 |
| 36 } | 36 } |
| 37 | 37 |
| 38 patch factory Int16List.view(ByteArray array, [int start = 0, int length]) { | 38 patch factory Int16List.view(ByteArray array, [int start = 0, int length]) { |
| 39 throw new UnsupportedOperationException('Int16List.view'); | 39 throw new UnsupportedError('Int16List.view'); |
| 40 } | 40 } |
| 41 } | 41 } |
| 42 | 42 |
| 43 | 43 |
| 44 patch class Uint16List { | 44 patch class Uint16List { |
| 45 patch factory Uint16List(int length) { | 45 patch factory Uint16List(int length) { |
| 46 throw new UnsupportedOperationException('Uint16List'); | 46 throw new UnsupportedError('Uint16List'); |
| 47 } | 47 } |
| 48 | 48 |
| 49 patch factory Uint16List.view(ByteArray array, [int start = 0, int length]) { | 49 patch factory Uint16List.view(ByteArray array, [int start = 0, int length]) { |
| 50 throw new UnsupportedOperationException('Uint16List.view'); | 50 throw new UnsupportedError('Uint16List.view'); |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 | 53 |
| 54 | 54 |
| 55 patch class Int32List { | 55 patch class Int32List { |
| 56 patch factory Int32List(int length) { | 56 patch factory Int32List(int length) { |
| 57 throw new UnsupportedOperationException('Int32List'); | 57 throw new UnsupportedError('Int32List'); |
| 58 } | 58 } |
| 59 | 59 |
| 60 patch factory Int32List.view(ByteArray array, [int start = 0, int length]) { | 60 patch factory Int32List.view(ByteArray array, [int start = 0, int length]) { |
| 61 throw new UnsupportedOperationException('Int32List.view'); | 61 throw new UnsupportedError('Int32List.view'); |
| 62 } | 62 } |
| 63 } | 63 } |
| 64 | 64 |
| 65 | 65 |
| 66 patch class Uint32List { | 66 patch class Uint32List { |
| 67 patch factory Uint32List(int length) { | 67 patch factory Uint32List(int length) { |
| 68 throw new UnsupportedOperationException('Uint32List'); | 68 throw new UnsupportedError('Uint32List'); |
| 69 } | 69 } |
| 70 | 70 |
| 71 patch factory Uint32List.view(ByteArray array, [int start = 0, int length]) { | 71 patch factory Uint32List.view(ByteArray array, [int start = 0, int length]) { |
| 72 throw new UnsupportedOperationException('Uint32List.view'); | 72 throw new UnsupportedError('Uint32List.view'); |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 | 75 |
| 76 | 76 |
| 77 patch class Int64List { | 77 patch class Int64List { |
| 78 patch factory Int64List(int length) { | 78 patch factory Int64List(int length) { |
| 79 throw new UnsupportedOperationException('Int64List'); | 79 throw new UnsupportedError('Int64List'); |
| 80 } | 80 } |
| 81 | 81 |
| 82 patch factory Int64List.view(ByteArray array, [int start = 0, int length]) { | 82 patch factory Int64List.view(ByteArray array, [int start = 0, int length]) { |
| 83 throw new UnsupportedOperationException('Int64List.view'); | 83 throw new UnsupportedError('Int64List.view'); |
| 84 } | 84 } |
| 85 } | 85 } |
| 86 | 86 |
| 87 | 87 |
| 88 patch class Uint64List { | 88 patch class Uint64List { |
| 89 patch factory Uint64List(int length) { | 89 patch factory Uint64List(int length) { |
| 90 throw new UnsupportedOperationException('Uint64List'); | 90 throw new UnsupportedError('Uint64List'); |
| 91 } | 91 } |
| 92 | 92 |
| 93 patch factory Uint64List.view(ByteArray array, [int start = 0, int length]) { | 93 patch factory Uint64List.view(ByteArray array, [int start = 0, int length]) { |
| 94 throw new UnsupportedOperationException('Uint64List.view'); | 94 throw new UnsupportedError('Uint64List.view'); |
| 95 } | 95 } |
| 96 } | 96 } |
| 97 | 97 |
| 98 | 98 |
| 99 patch class Float32List { | 99 patch class Float32List { |
| 100 patch factory Float32List(int length) { | 100 patch factory Float32List(int length) { |
| 101 throw new UnsupportedOperationException('Float32List'); | 101 throw new UnsupportedError('Float32List'); |
| 102 } | 102 } |
| 103 | 103 |
| 104 patch factory Float32List.view(ByteArray array, [int start = 0, int length]) { | 104 patch factory Float32List.view(ByteArray array, [int start = 0, int length]) { |
| 105 throw new UnsupportedOperationException('Float32List.view'); | 105 throw new UnsupportedError('Float32List.view'); |
| 106 } | 106 } |
| 107 } | 107 } |
| 108 | 108 |
| 109 | 109 |
| 110 patch class Float64List { | 110 patch class Float64List { |
| 111 patch factory Float64List(int length) { | 111 patch factory Float64List(int length) { |
| 112 throw new UnsupportedOperationException('Float64List'); | 112 throw new UnsupportedError('Float64List'); |
| 113 } | 113 } |
| 114 | 114 |
| 115 patch factory Float64List.view(ByteArray array, [int start = 0, int length]) { | 115 patch factory Float64List.view(ByteArray array, [int start = 0, int length]) { |
| 116 throw new UnsupportedOperationException('Float64List.view'); | 116 throw new UnsupportedError('Float64List.view'); |
| 117 } | 117 } |
| 118 } | 118 } |
| OLD | NEW |