| Index: frog/lib/natives.dart
|
| diff --git a/frog/lib/natives.dart b/frog/lib/natives.dart
|
| index b5de7aa0b4c901f3a03d55c67988de601f7bdefe..4b21cca6dc5113c38299005baa3a005faebb83fe 100644
|
| --- a/frog/lib/natives.dart
|
| +++ b/frog/lib/natives.dart
|
| @@ -32,14 +32,14 @@ if (e instanceof TypeError) {
|
| case 'property_not_function':
|
| case 'called_non_callable':
|
| if (e.arguments[0] == null) {
|
| - return attachStack(new NullPointerException());
|
| + return attachStack(new NullPointerException(null, []));
|
| } else {
|
| return attachStack(new ObjectNotClosureException());
|
| }
|
| break;
|
| case 'non_object_property_call':
|
| case 'non_object_property_load':
|
| - return attachStack(new NullPointerException());
|
| + return attachStack(new NullPointerException(null, []));
|
| break;
|
| case 'undefined_method':
|
| var mname = e.arguments[0];
|
| @@ -60,7 +60,7 @@ if (e instanceof TypeError) {
|
| return e;""" {
|
| // Ensure constructors are generated
|
| new ObjectNotClosureException();
|
| - new NullPointerException();
|
| + new NullPointerException(null, null);
|
| new NoSuchMethodException(null, null, null);
|
| new StackOverflowException();
|
| }
|
|
|