sparsetech / trail

Routing library for the Scala platform
82 stars 8 forks source link

Cast needed when calling `url` on root node #18

Closed tindzk closed 7 years ago

tindzk commented 7 years ago

This does not compile without the cast:

Router.url(Root, HNil.asInstanceOf[HNil])