| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library path.context; | 5 library path.context; |
| 6 | 6 |
| 7 import 'internal_style.dart'; | 7 import 'internal_style.dart'; |
| 8 import 'style.dart'; | 8 import 'style.dart'; |
| 9 import 'parsed_path.dart'; | 9 import 'parsed_path.dart'; |
| 10 import 'path_exception.dart'; | 10 import 'path_exception.dart'; |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 var message = new StringBuffer(); | 565 var message = new StringBuffer(); |
| 566 message.write("$method("); | 566 message.write("$method("); |
| 567 message.write(args | 567 message.write(args |
| 568 .take(numArgs) | 568 .take(numArgs) |
| 569 .map((arg) => arg == null ? "null" : '"$arg"') | 569 .map((arg) => arg == null ? "null" : '"$arg"') |
| 570 .join(", ")); | 570 .join(", ")); |
| 571 message.write("): part ${i - 1} was null, but part $i was not."); | 571 message.write("): part ${i - 1} was null, but part $i was not."); |
| 572 throw new ArgumentError(message.toString()); | 572 throw new ArgumentError(message.toString()); |
| 573 } | 573 } |
| 574 } | 574 } |
| OLD | NEW |