Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

fix NoSuchMethodError in filter #1685

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 9, 2015

  1. fix NoSuchMethodError in filter

    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 committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    4614e93 View commit details
    Browse the repository at this point in the history