dart-lang / source_maps

A package to programmatically manipulate source maps.
https://pub.dev/packages/source_maps
BSD 3-Clause "New" or "Revised" License
16 stars 14 forks source link

Replace arguments that can be String or Uri with Uri #47

Open natebosch opened 4 years ago

natebosch commented 4 years ago

Things are safer and it is trivial to shift the Uri.parse to the call site for the use cases passing a String.

natebosch commented 4 years ago

Also some arguments are String uri, like https://pub.dev/documentation/source_maps/latest/source_maps.parser/Mapping/spanFor.html

This should likely be Uri.