VGVentures / trix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty maps cause crash

wesbillman opened this issue · comments

commented

https://github.com/wesbillman/trix/blob/master/test/nested_object_test.dart#L113-L122

If this is changed:

        'mapB': {
          'a': {
            'name': 'b',
            'c': {'name': 'c'},
            'listC': [
              {'name': 'c'},
              {'name': 'b'}
            ]
          }
        },

to be empty, the parser will crash

        'mapB': {}
commented

This was fixed with d3c74f3