forked from typelevel/cats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove macro in FunctionK.lift implementation
Instead, use the trick proposed by Alex in typelevel#2553 (comment), this is perhaps not ideal but it seems simpler than maintaining two separate source files for Scala 2 and Dotty, just for this one function. Additionally, since Dotty is able to call into non-macro methods in Scala 2 dependencies, this makes FunctionK.lift usable from Dotty without cats havin to publish Dotty artifacts. Co-authored-by: Alexander Konovalov <alex.knvl@gmail.com>
- Loading branch information
1 parent
64eac53
commit 5c1bd11
Showing
1 changed file
with
8 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters