| Index: runtime/lib/error.dart
|
| ===================================================================
|
| --- runtime/lib/error.dart (revision 1763)
|
| +++ runtime/lib/error.dart (working copy)
|
| @@ -26,6 +26,11 @@
|
| throw const UnsupportedOperationException(
|
| "TypeError can only be allocated by the VM");
|
| }
|
| + static _throwNew(int location,
|
| + Object src_value,
|
| + String dst_type_name,
|
| + String dst_name)
|
| + native "TypeError_throwNew";
|
| String toString() {
|
| return "'$url': Failed type check: line $line pos $column: " +
|
| "type '$srcType' is not assignable to type '$dstType' of '$dstName'.";
|
|
|