dart-lang / source_gen

Automatic source code generation for Dart
https://pub.dev/packages/source_gen
BSD 3-Clause "New" or "Revised" License
484 stars 105 forks source link

Make LibraryReader.pathToUrl take a non-null argument #672

Open natebosch opened 1 year ago

natebosch commented 1 year ago

It is statically breaking to move the runtime null check to a static null check, but it's worth doing because a static check is preferred over a runtime check.