Skip to content

@api annotation (or something to mark FunctionX-es that should not be transformed to MiniboxedFunctionX) #115

Description

@VladUreche
scala> class api extends annotation.StaticAnnotation with annotation.TypeConstraint
defined class api

scala> def doSomethingWith[T](f: T => T @api) = f
doSomethingWith: [T](f: T => T @api)T => T @api

This should not be later transformed to:

doSomethingWith: [T](f: MiniboxedFunction1[T, T] @api)MiniboxedFunction1[T, T] @api

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions