Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.

fix NoSuchMethodError in filter #1

Closed
wants to merge 1 commit into from

Conversation

michilu
Copy link
Owner

@michilu michilu commented Mar 9, 2015

I got errors when using filter for objects that is nullable.
I seem to be no substantial problem.
However, I want to suppress unwanted errors.

The null object does not have a method 'toList'.

NoSuchMethodError: method not found: 'toList'
Receiver: null
Arguments: [growable: false]

STACKTRACE:
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#1      Filter.call (package:angular/formatter/filter.dart:193:26)
...

I got errors when using `filter` for objects that is nullable.
I seem to be no substantial problem.
However, I want to suppress unwanted errors.

```
The null object does not have a method 'toList'.

NoSuchMethodError: method not found: 'toList'
Receiver: null
Arguments: [growable: false]

STACKTRACE:
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#1      Filter.call (package:angular/formatter/filter.dart:193:26)
...
```
@michilu
Copy link
Owner Author

michilu commented Mar 9, 2015

miss

@michilu michilu closed this Mar 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant