codingwell / scala-guice

Scala extensions for Google Guice
Apache License 2.0
341 stars 44 forks source link

bind[X[Nothing]] fails when trying to instatiate Nothing. #95

Closed borissmidt closed 3 years ago

borissmidt commented 3 years ago

It tries to instantiate Exception in thread "main" java.lang.ClassNotFoundException: scala.Nothing https://stackoverflow.com/questions/54369014/cant-bindsttpbackendtry-nothing

tsuckow commented 3 years ago

I'll see if I can't add handing of Nothing later this week.

cacoco commented 3 years ago

@tsuckow I took a go at fixing this.

tsuckow commented 3 years ago

scala-guice 5.0.1 should sync to maven central shortly. Many thanks to @cacoco for making the pull request so I just had to validate the changes.

borissmidt commented 3 years ago

Thank you for fixing it so fast!

On Sat, May 22, 2021, 19:34 Thomas Suckow @.***> wrote:

scala-guice 5.0.1 should sync to maven central shortly. Many thanks to @cacoco https://github.com/cacoco for making the pull request so I just had to validate the changes.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/codingwell/scala-guice/issues/95#issuecomment-846440370, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNXZFVRX5BPUVDN6XFOY7DTO7TL3ANCNFSM45AHZYWQ .