Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mdedetrich/get-inline

Cross Scala version getInline macro annotation that ensures inlining of def/val
https://github.com/mdedetrich/get-inline

Last synced: 26 days ago
JSON representation

Cross Scala version getInline macro annotation that ensures inlining of def/val

Awesome Lists containing this project

README

        

# Get Inline

*Scala compiler, get in line dammit!*

Get Inline is a simple cross Scala 2/Scala 3 `@getInline` Macro Annotation that ensures that the superseding
`val`/`def` gets inlined. This is achieved by the macro transforming the macro to use the `@inline` annotation for
Scala 2 and the `inline` keyword for Scala 3.