Chromium Code Reviews| Index: lib/src/functionref.dart |
| diff --git a/lib/src/functionref.dart b/lib/src/functionref.dart |
| index d4c0e8efec60bd48a7e56d8d6e6c54c146561054..e2bf578c0040e5221289aae11a594be5db9ce7c3 100644 |
| --- a/lib/src/functionref.dart |
| +++ b/lib/src/functionref.dart |
| @@ -32,8 +32,8 @@ abstract class FunctionRef { |
| return new _FunctionRef(libraryUri, className, functionName); |
| } |
| } |
| - throw new ArgumentError.value(function, "function", |
| - "Not a static or top-level function"); |
| + throw new ArgumentError.value( |
| + function, "function", "Not a static or top-level function"); |
| } |
| // It's a Function but not a closure, so it's a callable object. |
| return new _CallableObjectRef(function); |
| @@ -65,11 +65,10 @@ class _FunctionRef implements FunctionRef { |
| String functionName = MirrorSystem.getName(this.functionName); |
| String classQualifier = ""; |
| if (this.className != null) { |
| - classQualifier = " in class ${MirrorSystem.getName(this.className)}"; |
| + classQualifier = " in class ${MirrorSystem.getName(this.className)}"; |
| } |
| throw new UnsupportedError( |
| - "Function $functionName${classQualifier} not found in library $libraryUri" |
| - ); |
| + "Function $functionName${classQualifier} not found in library $libraryUri"); |
|
Lasse Reichstein Nielsen
2015/02/26 10:59:15
Long line. The original was badly indented, but I'
|
| } |
| } |