Index: sdk/lib/_internal/compiler/implementation/lib/js_helper.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/lib/js_helper.dart (revision 15091) |
+++ sdk/lib/_internal/compiler/implementation/lib/js_helper.dart (working copy) |
@@ -954,7 +954,8 @@ |
// exception occurred. |
var type = JS('var', r'#.type', ex); |
var name = JS('var', r'#.arguments ? #.arguments[0] : ""', ex, ex); |
- if (type == 'property_not_function' || |
+ if (message.contains('JSNull') || |
sra1
2012/11/19 18:18:24
Will this work with --minify?
ngeoffray
2012/11/20 08:45:45
Good catch Stephen! I wouldn't worry too much abou
|
+ type == 'property_not_function' || |
type == 'called_non_callable' || |
type == 'non_object_property_call' || |
type == 'non_object_property_load') { |