Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Local variable geoSeries eclipses member field #12

Merged
merged 1 commit into from
Oct 30, 2019
Merged

Local variable geoSeries eclipses member field #12

merged 1 commit into from
Oct 30, 2019

Conversation

duzenko
Copy link
Contributor

@duzenko duzenko commented Oct 30, 2019

Am I stupid or GeoJsonPolygon.serializeFeature is broken? Local variable geoSeries eclipses member field geoSeries in that method resulting in _buildGeoJsonFeature been always fed an empty list.
That entire loop seems to be just out of place.

@duzenko
Copy link
Contributor Author

duzenko commented Oct 30, 2019

#11

@synw
Copy link
Owner

synw commented Oct 30, 2019

Am I stupid or

It's me that is. This piece of code is. It must have been forgotten or something. The serialization part seriously lacks of tests

Thanks for catching this

@synw synw merged commit 5fbe8d0 into synw:master Oct 30, 2019
@duzenko
Copy link
Contributor Author

duzenko commented Nov 1, 2019

Sorry, what about a pub.dev update?

@synw
Copy link
Owner

synw commented Nov 1, 2019

It's planned: as soon as I find the time to do it

synw pushed a commit that referenced this pull request Nov 4, 2019
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.

2 participants