Skip to content

mdedetrich/get-inline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages